Bundle boosted-yaml, adjust shading and build scripts

feat/data-edit-commands
William 2 years ago
parent e1628b6448
commit 258356e45d

@ -10,6 +10,9 @@ version "$ext.plugin_version+${versionMetadata()}"
ext {
set 'version', version.toString()
set 'jedis_version', jedis_version.toString()
set 'mysql_driver_version', mysql_driver_version.toString()
set 'snappy_version', snappy_version.toString()
}
import org.apache.tools.ant.filters.ReplaceTokens

@ -7,8 +7,8 @@ dependencies {
compileOnly 'commons-io:commons-io:2.11.0'
compileOnly 'de.themoep:minedown:1.7.1-SNAPSHOT'
compileOnly 'dev.dejvokep:boosted-yaml:1.3'
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
compileOnly 'dev.dejvokep:boosted-yaml:1.3'
compileOnly 'com.zaxxer:HikariCP:5.0.1'
testImplementation 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
@ -25,6 +25,7 @@ shadowJar {
relocate 'org.jetbrains', 'net.william278.husksync.libraries'
relocate 'org.intellij', 'net.william278.husksync.libraries'
relocate 'com.zaxxer', 'net.william278.husksync.libraries'
relocate 'dev.dejvokep', 'net.william278.husksync.libraries'
relocate 'me.lucko.commodore', 'net.william278.husksync.libraries.commodore'
relocate 'net.byteflux.libby', 'net.william278.husksync.libraries.libby'

@ -9,10 +9,10 @@ softdepend:
- MysqlPlayerDataBridge
- Plan
libraries:
- 'redis.clients:jedis:4.2.3'
- 'mysql:mysql-connector-java:8.0.30'
- 'org.xerial.snappy:snappy-java:1.1.8.4'
- 'dev.dejvokep:boosted-yaml:1.3'
- 'redis.clients:jedis:${jedis_version}'
- 'mysql:mysql-connector-java:${mysql_driver_version}'
- 'org.xerial.snappy:snappy-java:${snappy_version}'
commands:
husksync:
usage: '/husksync <update/info/reload/migrate>'

@ -2,13 +2,13 @@ dependencies {
implementation 'commons-io:commons-io:2.11.0'
implementation 'de.themoep:minedown:1.7.1-SNAPSHOT'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'dev.dejvokep:boosted-yaml:1.3'
implementation ('com.zaxxer:HikariCP:5.0.1') {
exclude module: 'slf4j-api'
}
compileOnly 'redis.clients:jedis:4.2.3'
compileOnly 'dev.dejvokep:boosted-yaml:1.3'
compileOnly 'org.xerial.snappy:snappy-java:1.1.8.4'
compileOnly 'redis.clients:jedis:' + jedis_version
compileOnly 'org.xerial.snappy:snappy-java:' + snappy_version
compileOnly 'org.jetbrains:annotations:23.0.0'
compileOnly 'com.github.plan-player-analytics:Plan:5.4.1690'
@ -25,4 +25,5 @@ shadowJar {
relocate 'org.jetbrains', 'net.william278.husksync.libraries'
relocate 'org.intellij', 'net.william278.husksync.libraries'
relocate 'com.zaxxer', 'net.william278.husksync.libraries'
relocate 'dev.dejvokep', 'net.william278.husksync.libraries'
}

@ -4,4 +4,8 @@ org.gradle.daemon=true
javaVersion=16
plugin_version=2.0.2
plugin_archive=husksync
plugin_archive=husksync
jedis_version=4.2.3
mysql_driver_version=8.0.30
snappy_version=1.1.8.4
Loading…
Cancel
Save