mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 22:26:46 +01:00
Setup resource filtering
Also mark gradlew as executable
This commit is contained in:
parent
2ee102b44f
commit
c44ca47bfe
@ -1,3 +1,4 @@
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
@ -33,6 +34,10 @@ tasks {
|
||||
relocate("org.apache.tomcat", "com.gmail.nossr50.database.tomcat")
|
||||
relocate("org.bstats", "com.gmail.nossr50.metrics.bstat")
|
||||
}
|
||||
|
||||
processResources {
|
||||
filter<ReplaceTokens>("tokens" to mapOf("project.version" to project.version))
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: mcMMO
|
||||
version: ${project.version}
|
||||
version: @project.version@
|
||||
description: >
|
||||
The goal of mcMMO is to take core Minecraft game mechanics and expand them into
|
||||
add an extensive and quality RPG experience. Everything in mcMMO has been carefully
|
||||
|
Loading…
Reference in New Issue
Block a user