-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (49 loc) · 1.68 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.22"
kotlin("plugin.serialization") version "1.9.22"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-paper") version "2.2.2"
}
group = "ink.ltm"
version = "1.1.7-SNAPSHOT"
val lampVersion = "3.2.1"
val exposedVersion = "0.47.0"
val adventureVersion = "4.15.0"
repositories {
mavenCentral()
maven {
name = "PaperMC"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
name = "CodeMC"
url = uri("https://repo.codemc.org/repository/maven-public/")
}
maven {
name = "Jitpack"
url = uri("https://jitpack.io")
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
implementation("com.github.Revxrsal.Lamp:common:${lampVersion}")
implementation("com.github.Revxrsal.Lamp:bukkit:${lampVersion}")
implementation("net.kyori:adventure-text-minimessage:${adventureVersion}")
implementation("net.kyori:adventure-text-serializer-legacy:${adventureVersion}")
implementation("org.jetbrains.exposed:exposed-core:${exposedVersion}")
implementation("org.jetbrains.exposed:exposed-jdbc:${exposedVersion}")
implementation("org.jetbrains.exposed:exposed-kotlin-datetime:${exposedVersion}")
implementation("org.xerial:sqlite-jdbc:3.45.0.0")
implementation("org.slf4j:slf4j-nop:2.0.11")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:1.9.22")
}
tasks {
runServer {
minecraftVersion("1.20.4")
}
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.javaParameters = true
}
}