diff --git a/temporal-kotlin/build.gradle b/temporal-kotlin/build.gradle index 9fafadd5d..7b7359254 100644 --- a/temporal-kotlin/build.gradle +++ b/temporal-kotlin/build.gradle @@ -20,7 +20,6 @@ dependencies { // this module shouldn't carry temporal-sdk with it, especially for situations when users may be using a shaded artifact compileOnly project(':temporal-sdk') - implementation "io.nexusrpc:nexus-sdk:$nexusVersion" implementation "org.jetbrains.kotlin:kotlin-reflect" diff --git a/temporal-sdk/build.gradle b/temporal-sdk/build.gradle index 1c294e19c..050612a25 100644 --- a/temporal-sdk/build.gradle +++ b/temporal-sdk/build.gradle @@ -8,7 +8,7 @@ dependencies { api project(':temporal-serviceclient') api "com.google.code.gson:gson:$gsonVersion" api "io.micrometer:micrometer-core" - implementation "io.nexusrpc:nexus-sdk:$nexusVersion" + api "io.nexusrpc:nexus-sdk:$nexusVersion" implementation "com.google.guava:guava:$guavaVersion" api "com.fasterxml.jackson.core:jackson-databind" diff --git a/temporal-shaded/build.gradle b/temporal-shaded/build.gradle index 4b149d058..316c51225 100644 --- a/temporal-shaded/build.gradle +++ b/temporal-shaded/build.gradle @@ -45,6 +45,9 @@ dependencies { shadow "com.google.guava:failureaccess:1.0.1" shadow "com.google.guava:guava:$guavaVersion" + // nexus + shadow "io.nexusrpc:nexus-sdk:$nexusVersion" + // grpc shadow "io.grpc:grpc-protobuf-lite:$grpcVersion" shadow "io.grpc:grpc-protobuf:$grpcVersion" diff --git a/temporal-spring-boot-autoconfigure/build.gradle b/temporal-spring-boot-autoconfigure/build.gradle index af5d0afee..dc94277b4 100644 --- a/temporal-spring-boot-autoconfigure/build.gradle +++ b/temporal-spring-boot-autoconfigure/build.gradle @@ -8,7 +8,6 @@ ext { dependencies { api(platform("org.springframework.boot:spring-boot-dependencies:$springBootVersion")) api(platform("io.opentelemetry:opentelemetry-bom:$otelVersion")) - implementation "io.nexusrpc:nexus-sdk:$nexusVersion" compileOnly project(':temporal-sdk') compileOnly project(':temporal-testing') diff --git a/temporal-test-server/build.gradle b/temporal-test-server/build.gradle index f4e232d00..a6bb98f94 100644 --- a/temporal-test-server/build.gradle +++ b/temporal-test-server/build.gradle @@ -21,7 +21,6 @@ dependencies { //needed for the generated grpc stubs and is not a part of JDK since java 9 compileOnly "javax.annotation:javax.annotation-api:$annotationApiVersion" } - implementation "io.nexusrpc:nexus-sdk:$nexusVersion" implementation "com.google.guava:guava:$guavaVersion" implementation("com.cronutils:cron-utils:${cronUtilsVersion}") { diff --git a/temporal-testing/build.gradle b/temporal-testing/build.gradle index 98dddfa81..606f88fcc 100644 --- a/temporal-testing/build.gradle +++ b/temporal-testing/build.gradle @@ -23,8 +23,6 @@ dependencies { implementation("com.jayway.jsonpath:json-path:$jsonPathVersion"){ exclude group: 'org.slf4j', module: 'slf4j-api' } - implementation "io.nexusrpc:nexus-sdk:$nexusVersion" - junit4Api 'junit:junit:4.13.2'