-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
66 lines (57 loc) · 1.74 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
plugins {
id("xyz.jpenilla.run-paper") version "2.2.3"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.papermc.paperweight.userdev") version "1.5.11"
kotlin("jvm") version "1.9.23"
kotlin("plugin.serialization") version "1.9.23"
}
group = "net.onelitefeather"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://jitpack.io/")
maven("https://repo.papermc.io/repository/maven-public/")
}
val exposedVersion: String by project
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT")
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-json:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-kotlin-datetime:$exposedVersion")
testImplementation("org.jetbrains.kotlin:kotlin-test")
}
tasks {
test {
useJUnitPlatform()
}
assemble {
dependsOn(reobfJar)
}
compileKotlin {
kotlinOptions.jvmTarget = "18"
}
runServer {
minecraftVersion("1.20.4")
}
shadowJar {
//archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
}
processResources {
dependsOn(project.tasks.generateBukkitPluginDescription)
}
}
bukkit {
name = "Alioth"
author = "MrFireDevil"
apiVersion = "1.20"
main = "net.onelitefeather.alioth.Alioth"
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(18))
}
}