Skip to content

Commit

Permalink
Merge pull request #1832 from robstoll/chore/fix-compileOnly-JS-issues
Browse files Browse the repository at this point in the history
fix compileOnly issues in JS use api for translation
  • Loading branch information
robstoll authored Sep 9, 2024
2 parents ed2d84d + b3090ff commit 71eb9f4
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 71eb9f4

Please sign in to comment.