File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ compileMain_java6Java.configure {
2929 setJavaVersion(it, 8 )
3030 sourceCompatibility = JavaVersion . VERSION_1_6
3131 targetCompatibility = JavaVersion . VERSION_1_6
32- destinationDirectory = layout. buildDirectory. dir(" classes/java/main" )
3332}
3433
3534tasks. compileJava. dependsOn compileMain_java6Java
@@ -52,6 +51,9 @@ ext.generalShadowJarConfig = {
5251
5352 duplicatesStrategy = DuplicatesStrategy . FAIL
5453
54+ // Include AgentPreCheck compiled with Java 6.
55+ from sourceSets. main_java6. output
56+
5557 // Remove some cruft from the final jar.
5658 // These patterns should NOT include **/META-INF/maven/**/pom.properties, which is
5759 // used to report our own dependencies, but we should remove the top-level metadata
You can’t perform that action at this time.
0 commit comments