forked from elliotnash/YepPaper
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (41 loc) · 1012 Bytes
/
build.gradle.kts
File metadata and controls
49 lines (41 loc) · 1012 Bytes
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
val kotlinVersion: String by project
plugins {
kotlin("jvm") version "2.0.20"
id("com.gradleup.shadow") version "8.3.3"
id("net.kyori.blossom") version "2.1.0"
}
group = "org.elliotnash.yeppaper"
version = "1.0.0"
// Replace variables in resource-templates dir
sourceSets {
main {
blossom {
resources {
property("version", project.version.toString())
}
}
}
}
repositories {
mavenCentral()
maven {
name = "papermc"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
name = "jitpack"
url = uri("https://jitpack.io")
}
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
implementation("com.github.CroaBeast:AdvancementInfo:main-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}