Skip to content

Commit c65a0cf

Browse files
committed
revert testGlue as it is no longer needed
1 parent abe30b8 commit c65a0cf

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

lib/build.gradle

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,11 @@ def NEEDS_GLUE = [
2121
'cleanthat'
2222
]
2323
for (glue in NEEDS_GLUE) {
24-
// main glue
25-
def mainGlue = sourceSets.register(glue) {
24+
sourceSets.register(glue) {
2625
compileClasspath += sourceSets.main.output
2726
runtimeClasspath += sourceSets.main.output
2827
java {}
2928
}
30-
// test glue
31-
sourceSets.register("test${glue.capitalize()}") {
32-
compileClasspath += mainGlue.get().compileClasspath + mainGlue.get().output + sourceSets.test.output
33-
runtimeClasspath += mainGlue.get().compileClasspath + mainGlue.get().output + sourceSets.test.output
34-
java {}
35-
}
36-
configurations.named("test${glue.capitalize()}Implementation").configure {
37-
extendsFrom(configurations.named("testImplementation").get())
38-
}
3929
}
4030

4131
versionCompatibility {
@@ -82,7 +72,6 @@ dependencies {
8272
palantirJavaFormatCompileOnly 'com.palantir.javaformat:palantir-java-format:1.1.0' // this version needs to stay compilable against Java 8 for CI Job testNpm
8373

8474
googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.8' // minimum required version due to api changes before then
85-
testGoogleJavaFormatImplementation "com.diffplug.durian:durian-core:$VER_DURIAN"
8675

8776
// used jackson-based formatters
8877
jacksonCompileOnly 'com.fasterxml.jackson.core:jackson-databind:2.14.2'

0 commit comments

Comments
 (0)