Skip to content

Commit ea156e9

Browse files
committed
Deployment from commit FabricMC/fabricmc.net@715e7dd
1 parent 8e7de9e commit ea156e9

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ dependencies {
3838
}
3939

4040
processResources {
41-
inputs.property "version", project.version
41+
def version = project.version
42+
inputs.property "version", version
4243

4344
filesMatching("fabric.mod.json") {
44-
expand "version": inputs.properties.version
45+
expand "version": version
4546
}
4647
}
4748

@@ -60,10 +61,11 @@ java {
6061
}
6162

6263
jar {
63-
inputs.property "projectName", project.name
64+
def projectName = project.name
65+
inputs.property "projectName", projectName
6466

6567
from("LICENSE") {
66-
rename { "${it}_${project.name}"}
68+
rename { "${it}_$projectName"}
6769
}
6870
}
6971

@@ -82,4 +84,4 @@ publishing {
8284
// The repositories here will be used for publishing your artifact, not for
8385
// retrieving dependencies.
8486
}
85-
}
87+
}

0 commit comments

Comments
 (0)