-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
39 lines (34 loc) · 1.19 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
plugins {
kotlin("jvm") version "2.0.21"
alias(libs.plugins.shadow)
alias(libs.plugins.ksp)
alias(libs.plugins.paperweight) apply false
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "com.github.johnrengelman.shadow")
apply(plugin = "com.google.devtools.ksp")
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
maven(url = "https://repo.papermc.io/repository/maven-public/")
maven(url = "https://nexus.leonardbausenwein.de/repository/maven-public/")
maven(url = "https://repo.infernalsuite.com/repository/maven-snapshots/")
maven(url = "https://repo.rapture.pw/repository/maven-releases/")
maven(url = "https://maven.noxcrew.com/public/")
maven(url = "https://maven.citizensnpcs.co/repo")
maven(url = "https://repo.minehub.live/releases")
}
plugins.withId("org.jetbrains.kotlin.jvm") {
kotlin {
jvmToolchain(21)
explicitApi()
}
tasks.compileKotlin {
compilerOptions {
javaParameters = true
freeCompilerArgs.add("-Xcontext-receivers")
}
}
}
}