-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
52 lines (46 loc) · 1.22 KB
/
build.gradle.kts
File metadata and controls
52 lines (46 loc) · 1.22 KB
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 {
`java-library`
`maven-publish`
id("io.izzel.taboolib") version "1.40"
id("org.jetbrains.kotlin.jvm") version "1.5.10"
kotlin("plugin.serialization") version "1.5.10"
}
taboolib {
install("common")
install("common-5")
install("module-configuration")
install("module-nms")
install("module-nms-util")
install("module-ui")
install("module-kether")
install("module-chat")
install("expansion-command-helper")
install("platform-bukkit")
classifier = null
version = "6.0.9-11"
}
repositories {
maven {
setUrl("https://maven.aliyun.com/repository/public/")
}
mavenCentral()
}
dependencies {
compileOnly("ink.ptms.core:v11200:11200")
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
compileOnly(kotlin("stdlib"))
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_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}