mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Fix gradle file
This commit is contained in:
parent
24e031acae
commit
842f96678d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user