-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle.kts
50 lines (43 loc) · 1.33 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
39
40
41
42
43
44
45
46
47
48
49
50
import de.chojo.PublishData
plugins {
java
alias(libs.plugins.publishdata)
}
group = "de.eldoria"
version = "0.12.0"
subprojects {
apply {
plugin<PublishData>()
plugin<MavenPublishPlugin>()
plugin<JavaLibraryPlugin>()
}
repositories {
mavenCentral()
maven("https://repo.spongepowered.org/maven")
maven("https://repo1.maven.org/maven2/")
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
maven("https://eldonexus.de/repository/maven-public/")
maven("https://eldonexus.de/repository/maven-proxies/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://mvn.lumine.io/repository/maven-public/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
dependencies {
compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
compileOnly("org.projectlombok:lombok:1.18.36")
compileOnly("org.jetbrains:annotations:26.0.2")
annotationProcessor("org.projectlombok:lombok:1.18.36")
}
java {
withSourcesJar()
withJavadocJar()
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
}
}