This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
McGamerZone/arcade/build.gradle.kts
2021-02-19 15:11:08 -05:00

19 lines
582 B
Plaintext

dependencies {
implementation(project(":core"))
compileOnly("com.destroystokyo:paperspigot:1.12.2")
implementation("com.github.cryptomorin:XSeries:7.8.0")
}
tasks {
processResources {
val tokens = mapOf("version" to project.version)
from(sourceSets["main"].resources.srcDirs) {
filter<org.apache.tools.ant.filters.ReplaceTokens>("tokens" to tokens)
}
}
shadowJar {
archiveFileName.set("${project.rootProject.name}-${project.name}-v${project.version}.jar")
destinationDir = file("$rootDir/output")
}
}