From 8e2bd6298cd61e340ae056267f4d0a5af392a7dd Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Mon, 1 May 2023 10:06:05 +0200 Subject: Use DSL sugar to access commonMain source set and avoid warnings --- sw-common-model/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw-common-model/build.gradle.kts') 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")) } -- cgit