File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ # BlueMap Brotli
2
+ A native addon for bluemap, adding brotli-compression support.
3
+
4
+ ## Usage
5
+ - download the [ bluemap-brotil.jar] ( https://github.com/BlueMap-Minecraft/BlueMapBrotli/releases ) that fits to your BlueMap version
6
+ - place the jar file into the ` addons ` folder next to your bluemap config files
7
+ - change the ` compression ` in your storage-config (` storages/file.conf ` or ` storages/sql.conf ` ) to ` "bluemap-brotli:brotli" `
8
+ - reload bluemap
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
4
4
}
5
5
6
6
group = " de.bluecolored.bluemap.brotli"
7
- version = " 0.1 "
7
+ version = " 1.0 "
8
8
9
9
java {
10
10
toolchain.languageVersion.set(JavaLanguageVersion .of(16 ))
@@ -28,6 +28,11 @@ dependencies {
28
28
29
29
tasks.shadowJar {
30
30
relocate( " com.aayushatharva.brotli4j" , " de.bluecolored.shadow.brotli4j" )
31
+
32
+ doLast {
33
+ destinationDirectory.file(archiveFileName).get().asFile
34
+ .copyTo(projectDir.resolve(" build/release/bluemap-brotli-$version .jar" ))
35
+ }
31
36
}
32
37
33
38
tasks.withType(JavaCompile ::class ).configureEach {
You can’t perform that action at this time.
0 commit comments