File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2- id ' fabric-loom' version ' 1.7-SNAPSHOT '
2+ id ' fabric-loom' version " ${ loom_version } "
33 id ' maven-publish'
44}
55
@@ -26,14 +26,14 @@ dependencies {
2626
2727 // Fabric API. This is technically optional, but you probably want it anyway.
2828 modImplementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_version} "
29-
29+
3030}
3131
3232processResources {
3333 inputs. property " version" , project. version
3434
3535 filesMatching(" fabric.mod.json" ) {
36- expand " version" : project . version
36+ expand " version" : inputs . properties . version
3737 }
3838}
3939
@@ -52,8 +52,10 @@ java {
5252}
5353
5454jar {
55+ inputs. property " archivesName" , project. base. archivesName
56+
5557 from(" LICENSE" ) {
56- rename { " ${ it} _${ project.base .archivesName.get() } " }
58+ rename { " ${ it} _${ inputs.properties .archivesName} " }
5759 }
5860}
5961
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ org.gradle.parallel=true
77minecraft_version =1.21
88yarn_mappings =1.21+build.9
99loader_version =0.16.0
10+ loom_version =1.14-SNAPSHOT
11+
1012
1113# Mod Properties
1214mod_version =1.0.1+1.21
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.10 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.2.1 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments