diff --git a/build.gradle.kts b/build.gradle.kts index ab20ab6..36b20a4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ plugins { `build-dashboard` // 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" @@ -74,29 +74,3 @@ val runWebMap by tasks.registering { 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()) -} diff --git a/modules/web-map/build.gradle.kts b/modules/web-map/build.gradle.kts index 5d1ec15..0ff58e1 100644 --- a/modules/web-map/build.gradle.kts +++ b/modules/web-map/build.gradle.kts @@ -105,11 +105,11 @@ kotlin { implementation(libs.kotlinx.coroutines.core) - implementation(dependencies.platform(npm("follow-redirects", "^1.14.8"))) - implementation(dependencies.platform(npm("nanoid", "^3.1.31"))) - implementation(dependencies.platform(npm("minimist", "^1.2.6"))) - implementation(dependencies.platform(npm("async", "^2.6.4"))) - implementation(dependencies.platform(npm("node-forge", "^1.3.0"))) +// implementation(dependencies.platform(npm("follow-redirects", "^1.14.8"))) +// implementation(dependencies.platform(npm("nanoid", "^3.1.31"))) +// implementation(dependencies.platform(npm("minimist", "^1.2.6"))) +// implementation(dependencies.platform(npm("async", "^2.6.4"))) +// implementation(dependencies.platform(npm("node-forge", "^1.3.0"))) } // val webDir = file("src/main/web") @@ -160,30 +160,3 @@ fun KotlinDependencyHandler.kvision( // 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()) -}