-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (45 loc) · 1.39 KB
/
build.gradle
File metadata and controls
50 lines (45 loc) · 1.39 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
plugins {
id "com.gradleup.shadow" version "9.3.0"
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.1.10'
id "io.papermc.paperweight.userdev" version "2.0.0-beta.21"
}
group = 'com.github.hapily04'
version = '2.5'
repositories {
mavenCentral()
gradlePluginPortal()
maven {
url = "https://repo.papermc.io/repository/maven-public/"
}
maven {
url = "https://oss.sonatype.org/content/groups/public/"
}
maven {
url = "https://maven.hapily.me/releases"
}
maven {
url = "https://repo.minehub.live/releases"
}
}
dependencies {
pluginRemapper("net.fabricmc:tiny-remapper:0.13.1:fat")
paperweight.paperDevBundle("1.21.11-R0.1-SNAPSHOT")
//compileOnly "io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT"
implementation 'dev.jorel:commandapi-paper-shade:11.2.0'
implementation 'net.minestom:minestom:2026.03.25-1.21.11'
implementation 'dev.hollowcube:polar:1.15.1'
implementation 'me.nullicorn:Nedit:2.2.0'
}
def targetJavaVersion = 21
def minestomJavaVersion = 25
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
toolchain.languageVersion = JavaLanguageVersion.of(minestomJavaVersion)
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.release.set(minestomJavaVersion)
}