diff --git a/build.gradle.kts b/build.gradle.kts index be0cea5..6be9712 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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("publish").enabled = project.properties["nexusUsername"] != null diff --git a/komp.jsTest.iml b/komp.jsTest.iml index e8b019c..0741fb6 100644 --- a/komp.jsTest.iml +++ b/komp.jsTest.iml @@ -5,8 +5,8 @@ komp:commonTest - komp.commonTest komp.jsMain + komp.commonTest komp.commonMain COMPILATION_AND_SOURCE_SET_HOLDER