-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
52 lines (42 loc) · 1.44 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
plugins {
id("java")
// id("io.papermc.paperweight.userdev") version "1.7.1"
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public")
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://repo.minebench.de/")
maven("https://repo.maven.apache.org/maven2/")
maven("https://repo.stellardrift.ca/")
}
group = "org.alvindimas05.lagassist"
version = "2.32.3"
description = "LagAssist"
java {
toolchain {
// Minecraft 1.8.8 - 1.16.5
// languageVersion.set(JavaLanguageVersion.of(8))
// Minecraft 1.17 - 1.20.2
// languageVersion.set(JavaLanguageVersion.of(17))
// Minecraft 1.20.3+
languageVersion.set(JavaLanguageVersion.of(21))
}
}
dependencies {
// Older paper-api only supports up to 1.16.5
// compileOnly("com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
compileOnly("net.milkbowl.vault:VaultAPI:1.7")
implementation("com.google.code.gson:gson:2.11.0")
implementation("io.netty:netty-all:4.2.0.RC1")
implementation("org.apache.directory.studio:org.apache.commons.lang:2.6")
implementation("javax.xml.bind:jaxb-api:2.4.0-b180830.0359")
implementation("org.apache.clerezza.ext:org.json.simple:0.4")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
//tasks.assemble {
// dependsOn(tasks.reobfJar)
//}