prevent api compilation in other modules

This commit is contained in:
tommyskeff
2023-11-21 20:34:58 +00:00
parent 5b2d335f66
commit bb48df29f3
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ repositories {
dependencies { dependencies {
implementation("org.jetbrains:annotations:24.1.0") implementation("org.jetbrains:annotations:24.1.0")
implementation(project(mapOf("path" to ":futur-api"))) compileOnly(project(mapOf("path" to ":futur-api")))
compileOnly("org.reactivestreams:reactive-streams:1.0.4") compileOnly("org.reactivestreams:reactive-streams:1.0.4")
testImplementation(platform("org.junit:junit-bom:5.9.1")) testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter") testImplementation("org.junit.jupiter:junit-jupiter")

View File

@@ -12,7 +12,7 @@ repositories {
dependencies { dependencies {
implementation("org.jetbrains:annotations:24.1.0") implementation("org.jetbrains:annotations:24.1.0")
implementation(project(mapOf("path" to ":futur-api"))) compileOnly(project(mapOf("path" to ":futur-api")))
implementation("io.projectreactor:reactor-core:3.6.0") implementation("io.projectreactor:reactor-core:3.6.0")
implementation(project(mapOf("path" to ":futur-reactive-streams"))) implementation(project(mapOf("path" to ":futur-reactive-streams")))
testImplementation(platform("org.junit:junit-bom:5.9.1")) testImplementation(platform("org.junit:junit-bom:5.9.1"))

View File

@@ -14,7 +14,7 @@ repositories {
dependencies { dependencies {
implementation("org.jetbrains:annotations:24.1.0") implementation("org.jetbrains:annotations:24.1.0")
implementation(project(mapOf("path" to ":futur-api"))) compileOnly(project(mapOf("path" to ":futur-api")))
testImplementation(platform("org.junit:junit-bom:5.9.1")) testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter") testImplementation("org.junit.jupiter:junit-jupiter")
} }