-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
36 lines (29 loc) · 871 Bytes
/
build.gradle.kts
File metadata and controls
36 lines (29 loc) · 871 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
34
35
36
plugins {
java
id("com.gradleup.shadow") version "9.2.2"
}
group = "com.example.exampleaddon"
version = "1.0"
repositories {
mavenCentral()
maven ( "https://repo.bluecolored.de/releases" )
}
dependencies {
// enable only one of the below:
compileOnly ( "de.bluecolored:bluemap-api:2.7.6" )
//compileOnly ( "de.bluecolored:bluemap-core:5.13" )
//compileOnly ( "de.bluecolored:bluemap-common:5.13" )
// add more libraries if needed
//implementation ( "some.example:library:1.0.0" )
}
java {
toolchain.languageVersion = JavaLanguageVersion.of(21)
withSourcesJar()
}
tasks.withType(JavaCompile::class).configureEach {
options.encoding = "utf-8"
}
tasks.withType(AbstractArchiveTask::class).configureEach {
isReproducibleFileOrder = true
isPreserveFileTimestamps = false
}