-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (26 loc) · 834 Bytes
/
build.gradle.kts
File metadata and controls
32 lines (26 loc) · 834 Bytes
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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
`java-library`
}
group = "dev.diona"
version = "1.0.3"
repositories {
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://repo.viaversion.com")
mavenCentral()
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT")
compileOnly("com.viaversion:viaversion-api:5.0.1")
compileOnly("it.unimi.dsi:fastutil-core:8.5.12")
compileOnly("io.netty:netty-all:4.0.20.Final")
compileOnly("org.checkerframework:checker-qual:3.43.0")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
targetCompatibility = JavaVersion.VERSION_17.toString()
}
tasks.processResources {
expand("version" to project.version)
}