We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e78118 commit 08f3917Copy full SHA for 08f3917
1 file changed
build.gradle.kts
@@ -54,3 +54,24 @@ dependencies {
54
tasks.withType<JavaCompile>().configureEach {
55
options.compilerArgs.add("-Xlint:-options")
56
}
57
+
58
+publishing {
59
+ repositories {
60
+ System.getenv("DEPLOYMENT_REPO_PASSWORD")?.let { deploymentRepoPassword ->
61
+ maven {
62
+ url = if (releasing) {
63
+ name = "minco.dev_releases"
64
+ uri(System.getenv("DEPLOYMENT_REPO_URL_RELEASE"))
65
+ } else {
66
+ name = "minco.dev_snapshots"
67
+ uri(System.getenv("DEPLOYMENT_REPO_URL_SNAPSHOT"))
68
+ }
69
+ credentials {
70
+ username = System.getenv("DEPLOYMENT_REPO_USERNAME")
71
+ password = deploymentRepoPassword
72
73
74
75
76
+}
77
0 commit comments