From bb48df29f39e3c545fbdcd9f40524d2b8d5c9946 Mon Sep 17 00:00:00 2001 From: tommyskeff Date: Tue, 21 Nov 2023 20:34:58 +0000 Subject: [PATCH] prevent api compilation in other modules --- futur-reactive-streams/build.gradle.kts | 2 +- futur-reactor/build.gradle.kts | 2 +- futur-standalone/build.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/futur-reactive-streams/build.gradle.kts b/futur-reactive-streams/build.gradle.kts index 205a74d..e2fc6c4 100644 --- a/futur-reactive-streams/build.gradle.kts +++ b/futur-reactive-streams/build.gradle.kts @@ -14,7 +14,7 @@ repositories { dependencies { 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") testImplementation(platform("org.junit:junit-bom:5.9.1")) testImplementation("org.junit.jupiter:junit-jupiter") diff --git a/futur-reactor/build.gradle.kts b/futur-reactor/build.gradle.kts index 91dcdbc..064555b 100644 --- a/futur-reactor/build.gradle.kts +++ b/futur-reactor/build.gradle.kts @@ -12,7 +12,7 @@ repositories { dependencies { 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(project(mapOf("path" to ":futur-reactive-streams"))) testImplementation(platform("org.junit:junit-bom:5.9.1")) diff --git a/futur-standalone/build.gradle.kts b/futur-standalone/build.gradle.kts index 05e4a0b..9e95d3f 100644 --- a/futur-standalone/build.gradle.kts +++ b/futur-standalone/build.gradle.kts @@ -14,7 +14,7 @@ repositories { dependencies { 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("org.junit.jupiter:junit-jupiter") }