Skip to content

Commit

Permalink
Modified build.gradle for better compatibility with curseforge
Browse files Browse the repository at this point in the history
  • Loading branch information
Redblueflame committed Jun 25, 2020
1 parent 6892889 commit 3385f7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ repositories {
}
}
configurations {
jar.archiveName = 'herbocraft.jar'
if (getVersion() == 'dev') {
println "You are in development mode !"
jar.archiveName = 'herbocraft.jar'
} else {
jar.archiveName = 'herbocraft-' + getVersion() + ".jar"
}
}
processResources {
inputs.property "version", project.version
Expand Down

0 comments on commit 3385f7d

Please sign in to comment.