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,32 +50,34 @@ kotlin {
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
if (project.properties["nexusUsername"] != null) {
|
||||||
name = "releases"
|
maven {
|
||||||
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/releases")
|
name = "releases"
|
||||||
credentials {
|
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/releases")
|
||||||
val nexusUsername: String by project
|
credentials {
|
||||||
val nexusPassword: String by project
|
val nexusUsername: String by project
|
||||||
|
val nexusPassword: String by project
|
||||||
|
|
||||||
username = nexusUsername
|
username = nexusUsername
|
||||||
password = nexusPassword
|
password = nexusPassword
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
maven {
|
||||||
maven {
|
name = "snapshots"
|
||||||
name = "snapshots"
|
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/snapshots")
|
||||||
url = uri("http://nexus.astraeus.nl/nexus/content/repositories/snapshots")
|
credentials {
|
||||||
credentials {
|
val nexusUsername: String by project
|
||||||
val nexusUsername: String by project
|
val nexusPassword: String by project
|
||||||
val nexusPassword: String by project
|
|
||||||
|
|
||||||
username = nexusUsername
|
username = nexusUsername
|
||||||
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