Skip to content

Commit

Permalink
Adjust transform-service module names and deps with sdks/java/core
Browse files Browse the repository at this point in the history
  • Loading branch information
kennknowles committed Feb 7, 2024
1 parent 7fa4c99 commit f250a84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sdks/java/transform-service/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apply plugin: 'org.apache.beam.module'
apply plugin: 'application'

applyJavaNature(
automaticModuleName: 'org.apache.beam.sdk.transform.service.app',
automaticModuleName: 'org.apache.beam.sdk.transformservice.app',
exportJavadoc: false,
validateShadowJar: false,
shadowClosure: {},
Expand Down
2 changes: 1 addition & 1 deletion sdks/java/transform-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
apply plugin: 'org.apache.beam.module'

applyJavaNature(
automaticModuleName: 'org.apache.beam.sdk.transform.service',
automaticModuleName: 'org.apache.beam.sdk.transformservice',
exportJavadoc: false,
validateShadowJar: false,
shadowClosure: {},
Expand Down
7 changes: 2 additions & 5 deletions sdks/java/transform-service/launcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
apply plugin: 'org.apache.beam.module'

applyJavaNature(
automaticModuleName: 'org.apache.beam.sdk.transform.service',
automaticModuleName: 'org.apache.beam.sdk.transformservice.launcher',
)

description = "Apache Beam :: SDKs :: Java :: Transform Service :: Launcher"
Expand All @@ -28,9 +28,7 @@ ext.summary = """Contains code that can be used to run an transform service."""
// Exclude tests that need a runner
test {
systemProperty "beamUseDummyRunner", "true"
useJUnit {
excludeCategories "org.apache.beam.sdk.testing.NeedsRunner"
}
useJUnit { }
}

dependencies {
Expand All @@ -42,7 +40,6 @@ dependencies {
permitUnusedDeclared(library.java.error_prone_annotations)
testImplementation library.java.junit
testImplementation library.java.mockito_core
testImplementation project(path: ":sdks:java:core")
}

sourceSets {
Expand Down

0 comments on commit f250a84

Please sign in to comment.