try to fix pRoJeCtS mUsT bE cOnFiGuRiNg
This commit is contained in:
parent
697a00b443
commit
89b7c772ff
2 changed files with 6 additions and 59 deletions
|
|
@ -8,7 +8,7 @@ plugins {
|
||||||
`build-dashboard`
|
`build-dashboard`
|
||||||
|
|
||||||
// kotlin("multiplatform") apply false // try to stop error 'Projects must be configuring'
|
// kotlin("multiplatform") apply false // try to stop error 'Projects must be configuring'
|
||||||
kotlin("js") apply false // try to stop error 'Projects must be configuring'
|
// kotlin("js") apply false // try to stop error 'Projects must be configuring'
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.adamko.kafkatorio"
|
group = "dev.adamko.kafkatorio"
|
||||||
|
|
@ -74,29 +74,3 @@ val runWebMap by tasks.registering {
|
||||||
|
|
||||||
dependsOn(":modules:web-map:browserDevelopmentRun")
|
dependsOn(":modules:web-map:browserDevelopmentRun")
|
||||||
}
|
}
|
||||||
|
|
||||||
// projects must be configuring hack
|
|
||||||
val hackLinePrefix = "// projects must be configuring hack "
|
|
||||||
|
|
||||||
gradle.beforeSettings {
|
|
||||||
|
|
||||||
val buildGradleKts: File =
|
|
||||||
// project.buildFile
|
|
||||||
layout.projectDirectory.file("buildSrc/build.gradle.kts").asFile
|
|
||||||
|
|
||||||
val hackedLines = buildGradleKts.readText()
|
|
||||||
.lines()
|
|
||||||
.joinToString(System.lineSeparator()) {
|
|
||||||
println("hacking $it")
|
|
||||||
when {
|
|
||||||
it.startsWith(hackLinePrefix) -> "$hackLinePrefix ${System.currentTimeMillis()}"
|
|
||||||
else -> it
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
buildGradleKts.writeText(hackedLines)
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.configureEach {
|
|
||||||
inputs.property("pRoJeCtS-mUsT-bE-cOnFiGuRiNg", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -105,11 +105,11 @@ kotlin {
|
||||||
|
|
||||||
implementation(libs.kotlinx.coroutines.core)
|
implementation(libs.kotlinx.coroutines.core)
|
||||||
|
|
||||||
implementation(dependencies.platform(npm("follow-redirects", "^1.14.8")))
|
// implementation(dependencies.platform(npm("follow-redirects", "^1.14.8")))
|
||||||
implementation(dependencies.platform(npm("nanoid", "^3.1.31")))
|
// implementation(dependencies.platform(npm("nanoid", "^3.1.31")))
|
||||||
implementation(dependencies.platform(npm("minimist", "^1.2.6")))
|
// implementation(dependencies.platform(npm("minimist", "^1.2.6")))
|
||||||
implementation(dependencies.platform(npm("async", "^2.6.4")))
|
// implementation(dependencies.platform(npm("async", "^2.6.4")))
|
||||||
implementation(dependencies.platform(npm("node-forge", "^1.3.0")))
|
// implementation(dependencies.platform(npm("node-forge", "^1.3.0")))
|
||||||
}
|
}
|
||||||
|
|
||||||
// val webDir = file("src/main/web")
|
// val webDir = file("src/main/web")
|
||||||
|
|
@ -160,30 +160,3 @@ fun KotlinDependencyHandler.kvision(
|
||||||
// resolution("node-forge", "1.3.0")
|
// resolution("node-forge", "1.3.0")
|
||||||
// }
|
// }
|
||||||
//}
|
//}
|
||||||
|
|
||||||
afterEvaluate {
|
|
||||||
rootProject.tasks.named("rootPackageJson").configure {
|
|
||||||
outputs.upToDateWhen { false }
|
|
||||||
inputs.property("cacheBuster", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
rootProject.tasks.named("kotlinYarnSetup").configure {
|
|
||||||
outputs.upToDateWhen { false }
|
|
||||||
inputs.property("cacheBuster", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
rootProject.tasks.named("kotlinNpmCachesSetup").configure {
|
|
||||||
outputs.upToDateWhen { false }
|
|
||||||
inputs.property("cacheBuster", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
rootProject.tasks.named("kotlinStoreYarnLock").configure {
|
|
||||||
outputs.upToDateWhen { false }
|
|
||||||
inputs.property("cacheBuster", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.configureEach {
|
|
||||||
inputs.property("pRoJeCtS-mUsT-bE-cOnFiGuRiNg", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
|
|
||||||
rootProject.tasks.configureEach {
|
|
||||||
inputs.property("pRoJeCtS-mUsT-bE-cOnFiGuRiNg", System.currentTimeMillis())
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue