summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2023-05-01 10:06:05 +0200
committerJoffrey Bion <joffrey.bion@gmail.com>2023-05-01 10:06:05 +0200
commit8e2bd6298cd61e340ae056267f4d0a5af392a7dd (patch)
tree510eea44a5bb55553bb615325c2ebfb3648bf7fd
parentUse existing Gradle updater action instead of custom workflow (diff)
downloadseven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.tar.gz
seven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.tar.bz2
seven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.zip
Use DSL sugar to access commonMain source set and avoid warnings
-rw-r--r--sw-client/build.gradle.kts2
-rw-r--r--sw-common-model/build.gradle.kts4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw-client/build.gradle.kts b/sw-client/build.gradle.kts
index 3ca5c93e..06a8729e 100644
--- a/sw-client/build.gradle.kts
+++ b/sw-client/build.gradle.kts
@@ -8,7 +8,7 @@ kotlin {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
- val commonMain by getting {
+ commonMain {
dependencies {
api(projects.swCommonModel)
api(libs.krossbow.stomp.kxserialization.json)
diff --git a/sw-common-model/build.gradle.kts b/sw-common-model/build.gradle.kts
index 955d0da5..a1556554 100644
--- a/sw-common-model/build.gradle.kts
+++ b/sw-common-model/build.gradle.kts
@@ -9,12 +9,12 @@ kotlin {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
- val commonMain by getting {
+ commonMain {
dependencies {
api(libs.kotlinx.serialization.core)
}
}
- val commonTest by getting {
+ commonTest {
dependencies {
implementation(kotlin("test"))
}
bgstack15