Fix build issue causing lang to not be bundled

This commit is contained in:
dfsek
2020-12-08 20:10:55 -07:00
parent 37c2d945ec
commit bb5552c8bc

View File

@@ -25,7 +25,7 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
} }
val versionObj = Version("2", "0", "1", true) val versionObj = Version("2", "0", "2", true)
version = versionObj version = versionObj
@@ -63,7 +63,7 @@ val compileJava: JavaCompile by tasks
val mainSourceSet: SourceSet = sourceSets["main"] val mainSourceSet: SourceSet = sourceSets["main"]
tasks.withType<ProcessResources> { tasks.withType<ProcessResources> {
include("*.yml") include("**/*.yml")
filter<org.apache.tools.ant.filters.ReplaceTokens>( filter<org.apache.tools.ant.filters.ReplaceTokens>(
"tokens" to mapOf( "tokens" to mapOf(
"VERSION" to project.version.toString() "VERSION" to project.version.toString()