generated from TabooLib/taboolib-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
74 lines (65 loc) · 2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import io.izzel.taboolib.gradle.*
plugins {
`java-library`
id("io.izzel.taboolib") version "2.0.13"
id("org.jetbrains.kotlin.jvm") version "1.9.22"
}
taboolib {
description {
contributors {
name("ItsFlicker")
}
dependencies {
name("eco").optional(true)
name("ItemsAdder").optional(true)
name("Oraxen").optional(true)
name("PlaceholderAPI").optional(true)
name("Sandalphon").optional(true)
name("Zaphkiel").optional(true)
}
load("STARTUP")
}
env {
install(UNIVERSAL, AI, NMS_UTIL, KETHER, METRICS, BUKKIT_ALL, EXPANSION_JAVASCRIPT)
}
version {
taboolib = "6.1.2-beta10"
coroutines = null
}
}
repositories {
mavenLocal()
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.rosewooddev.io/repository/public/")
}
dependencies {
// compileOnly("public:ModelEngine:3.0.0")
compileOnly("com.willfp:eco:6.35.1")
compileOnly("com.github.LoneDev6:api-itemsadder:3.2.5")
// compileOnly("com.github.oraxen:oraxen:-SNAPSHOT")
compileOnly("ink.ptms:Zaphkiel:2.0.14")
compileOnly("ink.ptms.core:v12004:12004:mapped")
compileOnly("ink.ptms.core:v12004:12004:universal")
compileOnly("ink.ptms:nms-all:1.0.0")
compileOnly("com.electronwill.night-config:core:3.6.7")
compileOnly("com.google.code.gson:gson:2.9.0")
compileOnly("com.google.guava:guava:31.1-jre")
compileOnly(kotlin("stdlib"))
compileOnly(fileTree("libs"))
taboo(fileTree("libs-shaded"))
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=all")
}
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}