-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
33 lines (27 loc) · 825 Bytes
/
build.gradle.kts
File metadata and controls
33 lines (27 loc) · 825 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
plugins {
id("io.papermc.paperweight.userdev") version "1.5.5"
id("org.jetbrains.kotlin.jvm") version "1.9.21"
id("java")
}
group = "com.taredsoftware.superrtp"
version = "1.0"
description = "A Random Teleport Plugin for PaperMC"
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17)) // Ensures compatibility with newer Paper versions
repositories {
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://jitpack.io")
}
dependencies {
paperweight.paperDevBundle("1.16.5-R0.1-SNAPSHOT") // Use Paper API for 1.16.5+
implementation("org.jetbrains.kotlin:kotlin-stdlib")
}
// Paperweight Setup
paperweight {
useStandardUpstream("dev.bundle")
}
tasks {
assemble {
dependsOn(reobfJar) // Ensures jar is correctly re-obfuscated
}
}