Skip to content

Commit 19947b1

Browse files
committed
Deployment from commit FabricMC/fabricmc.net@715e7dd
1 parent 0c76027 commit 19947b1

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
@@ -26,10 +26,11 @@ dependencies {
2626
}
2727

2828
processResources {
29-
inputs.property "version", project.version
29+
def version = project.version
30+
inputs.property "version", version
3031

3132
filesMatching("fabric.mod.json") {
32-
expand "version": inputs.properties.version
33+
expand "version": version
3334
}
3435
}
3536

@@ -48,10 +49,11 @@ java {
4849
}
4950

5051
jar {
51-
inputs.property "projectName", project.name
52+
def projectName = project.name
53+
inputs.property "projectName", projectName
5254

5355
from("LICENSE") {
54-
rename { "${it}_${project.name}"}
56+
rename { "${it}_$projectName"}
5557
}
5658
}
5759

@@ -70,4 +72,4 @@ publishing {
7072
// The repositories here will be used for publishing your artifact, not for
7173
// retrieving dependencies.
7274
}
73-
}
75+
}

0 commit comments

Comments
 (0)