From b3090ff87ee88a677e60958879c41bc43eec3c3b Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Sun, 8 Sep 2024 22:13:27 +0200 Subject: [PATCH] fix compileOnly issues in JS use api for translation because we no longer support de_CH anyway and will most likely not depend on translation-en_GB at the end of 1.3.0 we can also just use api --- apis/fluent/atrium-api-fluent/build.gradle.kts | 1 - apis/infix/atrium-api-infix/build.gradle.kts | 1 - logic/atrium-logic/build.gradle.kts | 3 +-- misc/atrium-verbs-internal/build.gradle.kts | 2 +- misc/atrium-verbs/build.gradle.kts | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apis/fluent/atrium-api-fluent/build.gradle.kts b/apis/fluent/atrium-api-fluent/build.gradle.kts index 765e1a7d9b..aa2fe84c92 100644 --- a/apis/fluent/atrium-api-fluent/build.gradle.kts +++ b/apis/fluent/atrium-api-fluent/build.gradle.kts @@ -9,7 +9,6 @@ kotlin { commonMain { dependencies { api(prefixedProject("logic")) - compileOnly(prefixedProject("translations-en_GB")) } } diff --git a/apis/infix/atrium-api-infix/build.gradle.kts b/apis/infix/atrium-api-infix/build.gradle.kts index 6eac924b92..1aa75c7c06 100644 --- a/apis/infix/atrium-api-infix/build.gradle.kts +++ b/apis/infix/atrium-api-infix/build.gradle.kts @@ -9,7 +9,6 @@ kotlin { commonMain { dependencies { api(prefixedProject("logic")) - compileOnly(prefixedProject("translations-en_GB")) } } diff --git a/logic/atrium-logic/build.gradle.kts b/logic/atrium-logic/build.gradle.kts index e2520242a1..29c8945112 100644 --- a/logic/atrium-logic/build.gradle.kts +++ b/logic/atrium-logic/build.gradle.kts @@ -12,8 +12,7 @@ kotlin { commonMain { dependencies { api(prefixedProject("core")) - // it is up to the consumer which atrium-translations module is used at runtime - compileOnly(prefixedProject("translations-en_GB")) + api(prefixedProject("translations-en_GB")) } } jvmMain { diff --git a/misc/atrium-verbs-internal/build.gradle.kts b/misc/atrium-verbs-internal/build.gradle.kts index 80a3e22840..2c9db87685 100644 --- a/misc/atrium-verbs-internal/build.gradle.kts +++ b/misc/atrium-verbs-internal/build.gradle.kts @@ -10,7 +10,7 @@ kotlin { dependencies { api(prefixedProject("logic")) api(prefixedProject("test-factory")) - compileOnly(prefixedProject("translations-en_GB")) + api(prefixedProject("translations-en_GB")) } } diff --git a/misc/atrium-verbs/build.gradle.kts b/misc/atrium-verbs/build.gradle.kts index f1a1691edd..2335141375 100644 --- a/misc/atrium-verbs/build.gradle.kts +++ b/misc/atrium-verbs/build.gradle.kts @@ -10,7 +10,7 @@ kotlin { dependencies { api(prefixedProject("logic")) api(prefixedProject("test-factory")) - compileOnly(prefixedProject("translations-en_GB")) + api(prefixedProject("translations-en_GB")) } }