Skip to content

Commit 3c3948b

Browse files
committed
Minor buildscript cleanup
1 parent c2a9851 commit 3c3948b

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

gradle/wrapper/gradle-wrapper.jar

1.71 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=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
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradleutils-shared/src/main/java/net/minecraftforge/gradleutils/shared/SharedUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

gradlew

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)