Skip to content

Commit

Permalink
fix compileOnly issues in JS use api for translation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
robstoll committed Sep 8, 2024
1 parent ed2d84d commit b3090ff
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion apis/fluent/atrium-api-fluent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ kotlin {
commonMain {
dependencies {
api(prefixedProject("logic"))
compileOnly(prefixedProject("translations-en_GB"))
}
}

Expand Down
1 change: 0 additions & 1 deletion apis/infix/atrium-api-infix/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ kotlin {
commonMain {
dependencies {
api(prefixedProject("logic"))
compileOnly(prefixedProject("translations-en_GB"))
}
}

Expand Down
3 changes: 1 addition & 2 deletions logic/atrium-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion misc/atrium-verbs-internal/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kotlin {
dependencies {
api(prefixedProject("logic"))
api(prefixedProject("test-factory"))
compileOnly(prefixedProject("translations-en_GB"))
api(prefixedProject("translations-en_GB"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion misc/atrium-verbs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kotlin {
dependencies {
api(prefixedProject("logic"))
api(prefixedProject("test-factory"))
compileOnly(prefixedProject("translations-en_GB"))
api(prefixedProject("translations-en_GB"))
}
}

Expand Down

0 comments on commit b3090ff

Please sign in to comment.