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 {
44}
55
66group = " de.bluecolored.bluemap.brotli"
7- version = " 0.1 "
7+ version = " 1.0 "
88
99java {
1010 toolchain.languageVersion.set(JavaLanguageVersion .of(16 ))
@@ -28,6 +28,11 @@ dependencies {
2828
2929tasks.shadowJar {
3030 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+ }
3136}
3237
3338tasks.withType(JavaCompile ::class ).configureEach {
You can’t perform that action at this time.
0 commit comments