-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (41 loc) · 1 KB
/
build.gradle.kts
File metadata and controls
48 lines (41 loc) · 1 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
plugins {
java
}
group = "net.azisaba"
version = "1.3.2"
description = "Auto regenerate resource world."
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/") {
name = "papermc"
}
maven("https://repo.onarandombox.com/content/groups/public/") {
name = "onarandombox"
}
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
compileOnly("org.mvplugins.multiverse.core:multiverse-core:5.5.3")
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
tasks.compileJava {
options.encoding = "UTF-8"
options.release = 21
}
tasks.processResources {
val properties = mapOf(
"name" to project.name,
"version" to project.version,
"description" to project.description,
)
inputs.properties(properties)
filesMatching("plugin.yml") {
expand(properties)
}
}
tasks.jar {
archiveFileName = "${project.name}.jar"
}