-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
64 lines (54 loc) · 1.46 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import io.izzel.taboolib.gradle.*
import io.izzel.taboolib.gradle.Basic
import io.izzel.taboolib.gradle.Bukkit
import io.izzel.taboolib.gradle.BukkitUtil
import io.izzel.taboolib.gradle.MinecraftChat
import io.izzel.taboolib.gradle.I18n
import io.izzel.taboolib.gradle.Metrics
import io.izzel.taboolib.gradle.CommandHelper
plugins {
java
id("io.izzel.taboolib") version "2.0.20"
id("org.jetbrains.kotlin.jvm") version "1.8.22"
}
taboolib {
env {
install(Basic)
install(Bukkit)
install(BukkitUtil)
install(BukkitNMS)
install(BukkitNMSUtil)
install(MinecraftChat)
install(I18n)
install(Metrics)
install(CommandHelper)
}
description {
name = "NetworkMonitor"
}
version { taboolib = "6.2.0-beta36" }
}
repositories {
mavenCentral()
}
dependencies {
compileOnly("ink.ptms.core:v12004:12004:mapped")
compileOnly("ink.ptms.core:v12004:12004:universal")
compileOnly(kotlin("stdlib"))
compileOnly(fileTree("libs"))
compileOnly("io.netty:netty-all:4.1.115.Final")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=all")
}
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}