Fix gradle file

This commit is contained in:
Telesphoreo 2022-05-05 15:28:05 -05:00
parent 24e031acae
commit 842f96678d

View File

@ -1,23 +1,13 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
group = rootProject.group group = rootProject.group
version = rootProject.version version = rootProject.version
description = "Plex-API" description = "Plex-Velocity"
repositories { repositories {
maven { url = uri("https://papermc.io/repo/repository/maven-public/") } maven { url = uri("https://papermc.io/repo/repository/maven-public/") }
} }
tasks.getByName<Jar>("jar") { tasks.getByName<Jar>("jar") {
archiveBaseName.set("Plex") archiveBaseName.set("Plex-Velocity")
archiveClassifier.set("proxy")
val props = mapOf("version" to rootProject.version)
// filter<org.apache.tools.ant.filters.ReplaceTokens>("tokens" to props)
}
tasks.getByName<ShadowJar>("shadowJar") {
val props = mapOf("version" to rootProject.version)
// filter<org.apache.tools.ant.filters.ReplaceTokens>("tokens" to props)
} }
tasks { tasks {