Fix CI build
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
# Created by .ignore support plugin (hsz.mobi)
|
# Created by .ignore support plugin (hsz.mobi)
|
||||||
web/js/generated
|
web/js/generated
|
||||||
gradle.properties
|
gradle.propertiesx
|
||||||
local.properties
|
local.properties
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ kotlin {
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
|
if (project.properties["nexusUsername"] != null) {
|
||||||
maven {
|
maven {
|
||||||
name = "releases"
|
name = "releases"
|
||||||
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/releases")
|
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/releases")
|
||||||
@@ -72,10 +73,11 @@ publishing {
|
|||||||
password = nexusPassword
|
password = nexusPassword
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
println("Publishing disabled properties not found.")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
publications {
|
publications {
|
||||||
val kotlinMultiplatform by getting {}
|
val kotlinMultiplatform by getting {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.getByName<Task>("publish").enabled = project.properties["nexusUsername"] != null
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
<configuration version="3" platform="JavaScript " allPlatforms="JS []" useProjectSettings="false" isTestModule="true" externalProjectId="komp" pureKotlinSourceFolders="$MODULE_DIR$/src/jsMain/kotlin;/home/rnentjes/Development/komp/komp/build/externals/komp-jsLegacy/src;/home/rnentjes/Development/komp/komp/build/externals/komp-jsIr/src;/home/rnentjes/Development/komp/komp/src/jsTest/kotlin;/home/rnentjes/Development/komp/komp/src/commonMain/kotlin">
|
<configuration version="3" platform="JavaScript " allPlatforms="JS []" useProjectSettings="false" isTestModule="true" externalProjectId="komp" pureKotlinSourceFolders="$MODULE_DIR$/src/jsMain/kotlin;/home/rnentjes/Development/komp/komp/build/externals/komp-jsLegacy/src;/home/rnentjes/Development/komp/komp/build/externals/komp-jsIr/src;/home/rnentjes/Development/komp/komp/src/jsTest/kotlin;/home/rnentjes/Development/komp/komp/src/commonMain/kotlin">
|
||||||
<dependsOnModuleNames>komp:commonTest</dependsOnModuleNames>
|
<dependsOnModuleNames>komp:commonTest</dependsOnModuleNames>
|
||||||
<sourceSets>
|
<sourceSets>
|
||||||
<sourceSet>komp.jsMain</sourceSet>
|
|
||||||
<sourceSet>komp.commonTest</sourceSet>
|
<sourceSet>komp.commonTest</sourceSet>
|
||||||
|
<sourceSet>komp.jsMain</sourceSet>
|
||||||
<sourceSet>komp.commonMain</sourceSet>
|
<sourceSet>komp.commonMain</sourceSet>
|
||||||
</sourceSets>
|
</sourceSets>
|
||||||
<newMppModelJpsModuleKind>COMPILATION_AND_SOURCE_SET_HOLDER</newMppModelJpsModuleKind>
|
<newMppModelJpsModuleKind>COMPILATION_AND_SOURCE_SET_HOLDER</newMppModelJpsModuleKind>
|
||||||
|
|||||||
Reference in New Issue
Block a user