Skip to content

Commit a486ffd

Browse files
committed
Some tidyup and stop relocating brotli for now
1 parent 70a8d6a commit a486ffd

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

build.gradle.kts

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "de.bluecolored.bluemap.brotli"
7-
version = "1.0"
7+
version = "1.1"
88

99
java {
1010
toolchain.languageVersion.set(JavaLanguageVersion.of(16))
@@ -17,23 +17,25 @@ repositories {
1717
}
1818

1919
dependencies {
20-
compileOnly ( "de.bluecolored.bluemap:BlueMapCore:5.0" )
21-
22-
implementation ( group = "com.aayushatharva.brotli4j", name = "brotli4j", version = "1.16.0" )
23-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-windows-x86_64", version = "1.16.0" )
24-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-windows-aarch64", version = "1.16.0" )
25-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-x86_64", version = "1.16.0" )
26-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-aarch64", version = "1.16.0" )
27-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-armv7", version = "1.16.0" )
28-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-ppc64le", version = "1.16.0" )
29-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-riscv64", version = "1.16.0" )
30-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-s390x", version = "1.16.0" )
31-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-osx-x86_64", version = "1.16.0" )
32-
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-osx-aarch64", version = "1.16.0" )
20+
compileOnly ( "de.bluecolored.bluemap:BlueMapCore:5.2" )
21+
22+
val brotli4jVersion = "1.16.0"
23+
implementation ( group = "com.aayushatharva.brotli4j", name = "brotli4j", version = brotli4jVersion )
24+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-windows-x86_64", version = brotli4jVersion )
25+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-windows-aarch64", version = brotli4jVersion )
26+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-x86_64", version = brotli4jVersion )
27+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-aarch64", version = brotli4jVersion )
28+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-armv7", version = brotli4jVersion )
29+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-ppc64le", version = brotli4jVersion )
30+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-riscv64", version = brotli4jVersion )
31+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-linux-s390x", version = brotli4jVersion )
32+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-osx-x86_64", version = brotli4jVersion )
33+
runtimeOnly ( group = "com.aayushatharva.brotli4j", name = "native-osx-aarch64", version = brotli4jVersion )
3334
}
3435

3536
tasks.shadowJar {
36-
relocate( "com.aayushatharva.brotli4j", "de.bluecolored.shadow.brotli4j" )
37+
// apparently relocating breaks it from working on some systems, so we don't relocate until someone finds out why
38+
//relocate( "com.aayushatharva.brotli4j", "de.bluecolored.shadow.brotli4j" )
3739

3840
doLast {
3941
destinationDirectory.file(archiveFileName).get().asFile

0 commit comments

Comments
 (0)