-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbuild.gradle.kts
35 lines (28 loc) · 1.04 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
plugins {
id("java")
}
val pluginVersion: String by project
val pluginDescription = "Optimize texture pack management on bungee/velocity to never double send the same pack."
group = "io.th0rgal.packsmanager"
version = pluginVersion
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://mvn.exceptionflug.de/repository/exceptionflug-public/")
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("dev.simplix:protocolize-api:2.3.0")
compileOnly("net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-proxy:3.0.1")
annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT")
}
tasks {
jar {
filesMatching(arrayOf("bungee.yml", "velocity-plugin.json").asIterable()) {
expand(mapOf("version" to pluginVersion, "description" to pluginDescription))
}
}
compileJava.get().dependsOn(clean)
}