-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (35 loc) · 1.1 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.20"
id("com.github.johnrengelman.shadow") version "7.1.0"
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
group = ""
version = "1.0"
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://repo.dmulloy2.net/repository/public/")
maven("https://repo.aikar.co/nexus/content/groups/aikar/")
maven("https://maven.enginehub.org/repo/")
maven("https://repo.codemc.org/repository/maven-public/")
maven("https://libraries.minecraft.net")
}
dependencies {
implementation(kotlin("stdlib"))
compileOnly(group = "com.plotsquared", name = "PlotSquared-Core", version = "6.4.0")
compileOnly(group = "com.plotsquared", name = "PlotSquared-Bukkit", version = "6.4.0")
compileOnly(group = "org.spigotmc", name = "spigot-api", version = "1.16.2-R0.1-SNAPSHOT")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "16"
}
}
tasks.build {
dependsOn(tasks.shadowJar)
}