Fix build
This commit is contained in:
@@ -52,7 +52,6 @@ publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = "releases"
|
||||
// change to point to your repo, e.g. http://my.org/repo
|
||||
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/releases")
|
||||
credentials {
|
||||
val nexusUsername: String by project
|
||||
@@ -64,7 +63,6 @@ publishing {
|
||||
}
|
||||
maven {
|
||||
name = "snapshots"
|
||||
// change to point to your repo, e.g. http://my.org/repo
|
||||
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/snapshots")
|
||||
credentials {
|
||||
val nexusUsername: String by project
|
||||
@@ -76,8 +74,8 @@ publishing {
|
||||
}
|
||||
}
|
||||
publications {
|
||||
val kotlinMultiplatform by getting {
|
||||
//artifactId = "kotlin-css-generator"
|
||||
}
|
||||
val kotlinMultiplatform by getting {}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.getByName<Task>("publish").enabled = project.properties["nexusUsername"] != null
|
||||
|
||||
Reference in New Issue
Block a user