diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2023-05-01 10:06:05 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2023-05-01 10:06:05 +0200 |
commit | 8e2bd6298cd61e340ae056267f4d0a5af392a7dd (patch) | |
tree | 510eea44a5bb55553bb615325c2ebfb3648bf7fd /sw-common-model/build.gradle.kts | |
parent | Use existing Gradle updater action instead of custom workflow (diff) | |
download | seven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.tar.gz seven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.tar.bz2 seven-wonders-8e2bd6298cd61e340ae056267f4d0a5af392a7dd.zip |
Use DSL sugar to access commonMain source set and avoid warnings
Diffstat (limited to 'sw-common-model/build.gradle.kts')
-rw-r--r-- | sw-common-model/build.gradle.kts | 4 |
1 files changed, 2 insertions, 2 deletions
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")) } |