forked from Lanscarlos/Vulpecula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
85 lines (72 loc) · 1.98 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
75
76
77
78
79
80
81
82
83
84
85
import io.izzel.taboolib.gradle.*
plugins {
java
id("io.izzel.taboolib") version "2.0.11"
id("org.jetbrains.kotlin.jvm") version "1.8.22"
}
taboolib {
env {
install(
UNIVERSAL,
DATABASE,
EFFECT,
NMS_UTIL,
KETHER,
UI,
METRICS,
BUKKIT_ALL
)
}
version {
taboolib = "6.1.1-beta27"
}
description {
contributors {
name("Lanscarlos")
}
desc("A Kether Script Extension System for TabooLib")
dependencies {
name("Adyeshach").optional(true)
name("Chemdah").optional(true)
name("DungeonPlus").optional(true)
name("Planners").optional(true)
name("Invero").optional(true)
name("Zaphkiel").optional(true)
name("PlaceholderAPI").optional(true)
name("LuckPerms").optional(true)
}
}
}
repositories {
mavenLocal()
maven("https://repo.spongepowered.org/maven")
maven("https://repo.tabooproject.org/repository/releases")
mavenCentral()
}
dependencies {
compileOnly(kotlin("stdlib"))
// server
compileOnly("ink.ptms:nms-all:1.0.0")
compileOnly("ink.ptms.core:v12001:12001:mapped")
compileOnly("ink.ptms.core:v11900:11900:universal")
compileOnly("com.google.guava:guava:31.1-jre")
// for kether
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4") // 协程
compileOnly("com.mojang:datafixerupper:4.0.26")
compileOnly("net.luckperms:api:5.4")
// other
compileOnly(fileTree("libs"))
}
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_14
targetCompatibility = JavaVersion.VERSION_1_8
}