Fix build

This commit is contained in:
2021-02-10 13:44:08 +01:00
parent 66b3fb3c22
commit 695a11efdb
2 changed files with 4 additions and 6 deletions

View File

@@ -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