@@ -2108,7 +2108,9 @@ allprojects {
2108
2108
// Set sourceCompatibility to the target release of Java. Most modules
2109
2109
// set compiler.options.release (to the same target version), which will
2110
2110
// override this setting, but it is needed for those modules that can't.
2111
- sourceCompatibility = JAVA_TARGET_VERSION
2111
+ java {
2112
+ sourceCompatibility = JAVA_TARGET_VERSION
2113
+ }
2112
2114
2113
2115
// By default all of our projects require junit for testing so we can just
2114
2116
// setup this dependency here.
@@ -2123,6 +2125,7 @@ allprojects {
2123
2125
testRuntimeOnly group : " org.junit.jupiter" , name : " junit-jupiter-engine" , version : " 5.8.1"
2124
2126
testRuntimeOnly group : " org.junit.platform" , name : " junit-platform-commons" , version : " 1.8.1"
2125
2127
testRuntimeOnly group : " org.junit.platform" , name : " junit-platform-engine" , version : " 1.8.1"
2128
+ testRuntimeOnly group : " org.junit.platform" , name : " junit-platform-launcher" , version : " 1.8.1"
2126
2129
testRuntimeOnly group : " org.junit.vintage" , name : " junit-vintage-engine" , version : " 5.8.1"
2127
2130
2128
2131
if (BUILD_CLOSED && DO_JCOV ) {
@@ -4723,8 +4726,8 @@ compileTargets { t ->
4723
4726
includeEmptyDirs = false
4724
4727
// Sets directory and file permissions in archive for Windows
4725
4728
if (IS_WINDOWS && IS_USE_CYGWIN ) {
4726
- dirMode = 0755
4727
- fileMode = 0755
4729
+ dirPermissions { unix( 0755 ) }
4730
+ filePermissions { unix( 0755 ) }
4728
4731
}
4729
4732
from sdkArtifactsDir
4730
4733
into " ${ sdkBundleName} "
0 commit comments