File tree Expand file tree Collapse file tree 6 files changed +12
-26
lines changed Expand file tree Collapse file tree 6 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 1- buildscript {
2- repositories {
3- mavenCentral()
4- }
5- }
61apply from : rootProject. file(' gradle/java-publish.gradle' )
72apply from : rootProject. file(' gradle/changelog.gradle' )
83allprojects {
94 apply from : rootProject. file(' gradle/spotless.gradle' )
105}
116apply from : rootProject. file(' gradle/spotless-freshmark.gradle' )
127
8+ repositories {
9+ mavenCentral()
10+ }
1311spotless {
1412 groovyGradle {
1513 target ' *.gradle' , ' gradle/*.gradle'
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-6.6 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.3 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 8282
8383CLASSPATH=$APP_HOME /gradle/wrapper/gradle-wrapper.jar
8484
85+
8586# Determine the Java command to use to start the JVM.
8687if [ -n " $JAVA_HOME " ] ; then
8788 if [ -x " $JAVA_HOME /jre/sh/java" ] ; then
129130if [ " $cygwin " = " true" -o " $msys " = " true" ] ; then
130131 APP_HOME=` cygpath --path --mixed " $APP_HOME " `
131132 CLASSPATH=` cygpath --path --mixed " $CLASSPATH " `
133+
132134 JAVACMD=` cygpath --unix " $JAVACMD " `
133135
134136 # We build the pattern for arguments to be converted via cygpath
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040
4141set JAVA_EXE = java.exe
4242%JAVA_EXE% -version > NUL 2 >& 1
43- if " %ERRORLEVEL% " == " 0" goto init
43+ if " %ERRORLEVEL% " == " 0" goto execute
4444
4545echo .
4646echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -54,7 +54,7 @@ goto fail
5454set JAVA_HOME = %JAVA_HOME:" =%
5555set JAVA_EXE = %JAVA_HOME% /bin/java.exe
5656
57- if exist " %JAVA_EXE% " goto init
57+ if exist " %JAVA_EXE% " goto execute
5858
5959echo .
6060echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -64,28 +64,14 @@ echo location of your Java installation.
6464
6565goto fail
6666
67- :init
68- @ rem Get command-line arguments, handling Windows variants
69-
70- if not " %OS% " == " Windows_NT" goto win9xME_args
71-
72- :win9xME_args
73- @ rem Slurp the command line arguments.
74- set CMD_LINE_ARGS =
75- set _SKIP = 2
76-
77- :win9xME_args_slurp
78- if " x%~1 " == " x" goto execute
79-
80- set CMD_LINE_ARGS = %*
81-
8267:execute
8368@ rem Setup the command line
8469
8570set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
8671
72+
8773@ rem Execute Gradle
88- " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
74+ " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %*
8975
9076:end
9177@ rem End local scope for the variables with windows NT shell
Original file line number Diff line number Diff line change 11pluginManagement {
22 plugins {
3- id ' com.diffplug.spotless' version ' 5.17 .1'
3+ id ' com.diffplug.spotless' version ' 6.0 .1'
44 // https://plugins.gradle.org/plugin/com.gradle.plugin-publish
55 id ' com.gradle.plugin-publish' version ' 0.18.0'
66 // https://github.com/gradle-nexus/publish-plugin/releases
@@ -10,7 +10,7 @@ pluginManagement {
1010 // https://github.com/diffplug/spotless-changelog
1111 id ' com.diffplug.spotless-changelog' version ' 2.3.2'
1212 // https://github.com/diffplug/goomph/blob/main/CHANGES.md
13- id ' com.diffplug.p2.asmaven' version ' 3.33.2 '
13+ id ' com.diffplug.p2.asmaven' version ' 3.33.3 '
1414 // https://github.com/gradle/test-retry-gradle-plugin/releases
1515 id ' org.gradle.test-retry' version ' 1.3.1'
1616 }
You can’t perform that action at this time.
0 commit comments