-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
62 lines (54 loc) · 1.69 KB
/
build.gradle.kts
File metadata and controls
62 lines (54 loc) · 1.69 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
54
55
56
57
58
59
60
61
62
plugins {
`java-library`
id("xyz.jpenilla.run-paper") version "1.0.6"
id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
}
group = "de.helixdevs"
version = "1.0.5"
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
repositories {
mavenCentral()
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
dependencies {
api("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT")
implementation("org.jetbrains:annotations:23.0.0")
compileOnly("org.projectlombok:lombok:1.18.22")
annotationProcessor("org.projectlombok:lombok:1.18.22")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
runServer {
minecraftVersion("1.18.2")
}
test {
useJUnitPlatform()
}
}
bukkit {
name = "EntityTraveller"
description = "With this plugin you can travel with the leashed entities."
main = "de.helixdevs.entitytraveller.EntityTravellerPlugin"
apiVersion = "1.15"
website = "https://www.spigotmc.org/resources/entity-traveller.101290/"
authors = listOf("CyntrixAlgorithm")
permissions {
register("entitytraveller.update") {
default = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.Permission.Default.OP
description = "Gives the player the permission to receive notification when a newer plugin version is available."
}
}
}