File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
gradleutils-shared/src/main/java/net/minecraftforge/gradleutils/shared Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ configurations.configureEach {
3838 // The "shadowed" attribute is declared here since project dependencies do not read the published module file
3939 substitute module(' net.minecraftforge:gradleutils-shared' ) using variant(project(' :gradleutils-shared' )) {
4040 attributes {
41- attribute(Bundling . BUNDLING_ATTRIBUTE , objects . named(Bundling , Bundling . SHADOWED ))
41+ attribute(Bundling . BUNDLING_ATTRIBUTE , named(Bundling , Bundling . SHADOWED ))
4242 }
4343 } because ' Project dependencies do not read the published module file, so the shadowed attribute is manually declared.'
4444 }
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-9.0.0 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.3.0-rc-1 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -426,15 +426,15 @@ public static void forEachClasspathEagerly(NamedDomainObjectSet<Configuration> c
426426
427427 //region Dependency Versioning
428428
429- static int versionCompare (String v1 , String v2 ) {
429+ public static int versionCompare (String v1 , String v2 ) {
430430 return StaticVersionComparator .compareNow (v1 , v2 );
431431 }
432432
433- static Comparator <String > versionComparator () {
433+ public static Comparator <String > versionComparator () {
434434 return StaticVersionComparator .INSTANCE ;
435435 }
436436
437- static Class <? extends Comparator <String >> versionComparatorClass () {
437+ public static Class <? extends Comparator <String >> versionComparatorClass () {
438438 return StaticVersionComparator .class ;
439439 }
440440 //endergion
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33#
4- # Copyright © 2015-2021 the original authors.
4+ # Copyright © 2015 the original authors.
55#
66# Licensed under the Apache License, Version 2.0 (the "License");
77# you may not use this file except in compliance with the License.
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114 NONSTOP* ) nonstop=true ;;
115115esac
116116
117- CLASSPATH=$APP_HOME /gradle/wrapper/gradle-wrapper.jar
117+ CLASSPATH=" \\\"\\\" "
118118
119119
120120# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213set -- \
214214 " -Dorg.gradle.appname=$APP_BASE_NAME " \
215215 -classpath " $CLASSPATH " \
216- org. gradle. wrapper.GradleWrapperMain \
216+ -jar " $APP_HOME / gradle/ wrapper/gradle-wrapper.jar " \
217217 " $@ "
218218
219219# Stop when "xargs" is not available.
Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ goto fail
7070:execute
7171@ rem Setup the command line
7272
73- set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
73+ set CLASSPATH =
7474
7575
7676@ rem Execute Gradle
77- " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org. gradle. wrapper.GradleWrapperMain %*
77+ " %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " -jar " %APP_HOME% \ gradle\ wrapper\gradle-wrapper.jar " %*
7878
7979:end
8080@ rem End local scope for the variables with windows NT shell
You can’t perform that action at this time.
0 commit comments