File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
local-build-plugins/src/main/groovy Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.12 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.1.0 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 8686# shellcheck disable=SC2034
8787APP_BASE_NAME=${0##*/ }
8888# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89- APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s
90- ' " $PWD " ) || exit
89+ APP_HOME=$( cd -P " ${APP_HOME:- ./ } " > /dev/null && printf ' %s\n' " $PWD " ) || exit
9190
9291# Use the maximum available, or set MAX_FD != -1 to use that value.
9392MAX_FD=maximum
Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ repositories {
3333 mavenCentral()
3434}
3535
36+ dependencies {
37+ // JUnit Jupiter
38+ testImplementation(libs. org. junit. jupiter. junit. jupiter. api)
39+ testRuntimeOnly(libs. org. junit. jupiter. junit. jupiter. engine)
40+ testRuntimeOnly(libs. org. junit. platform. junit. platform. launcher)
41+ }
42+
3643ext. publishScript = rootProject. rootDir. absolutePath + ' /publish.gradle'
3744
3845tasks. withType( JavaCompile ). configureEach {
@@ -46,8 +53,10 @@ tasks.withType( Test ).configureEach {
4653}
4754
4855if ( ! gradle. ext. javaToolchainEnabled ) {
49- sourceCompatibility = JavaVersion . toVersion( gradle. ext. baselineJavaVersion )
50- targetCompatibility = JavaVersion . toVersion( gradle. ext. baselineJavaVersion )
56+ java {
57+ sourceCompatibility = JavaVersion . toVersion( gradle. ext. baselineJavaVersion )
58+ targetCompatibility = JavaVersion . toVersion( gradle. ext. baselineJavaVersion )
59+ }
5160}
5261else {
5362 // Configure generated bytecode
You can’t perform that action at this time.
0 commit comments