forked from SkyboundLab/YepPaper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (45 loc) · 1.09 KB
/
build.gradle.kts
File metadata and controls
53 lines (45 loc) · 1.09 KB
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
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"
}
base {
archivesName.set("YepSpigot")
}
group = "org.elliotnash.yepspigot"
version = "1.0.0"
// Replace variables in resource-templates dir
sourceSets {
main {
blossom {
resources {
property("version", project.version.toString())
}
}
}
}
repositories {
mavenCentral()
maven {
name = "spigotmc"
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
maven {
name = "jitpack"
url = uri("https://jitpack.io")
}
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
compileOnly("org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT")
implementation("net.kyori:adventure-api:4.17.0")
implementation("net.kyori:adventure-text-minimessage:4.17.0")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}