-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (32 loc) · 1.07 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("io.freefair.lombok") version "8.10"
id("io.github.goooler.shadow") version "8.1.7"
id("io.papermc.paperweight.userdev") version "1.7.3"
id("xyz.jpenilla.run-paper") version "2.3.1"
id("java")
}
group = "it.pboglione"
version = "1.0.0-alpha1"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://plugins.gradle.org/m2/")
maven("https://repo.william278.net/releases")
}
dependencies {
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
implementation("net.william278.uniform:uniform-paper:1.2.2")
implementation("de.exlll:configlib-yaml:4.5.0")
}
java {
toolchain.languageVersion.set(
JavaLanguageVersion.of(21))
}
tasks.withType<ShadowJar> {
archiveFileName = "kranitel-$version.jar"
relocate("de.exlll.configlib", "$group.dependencies.configlib")
relocate("net.william278.uniform", "$group.dependencies.uniform")
relocate("org.snakeyml", "$group.dependencies.snakeyml")
minimize()
}