mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-20 15:29:19 +00:00
Bundle boosted-yaml, adjust shading and build scripts
This commit is contained in:
@@ -10,6 +10,9 @@ version "$ext.plugin_version+${versionMetadata()}"
|
|||||||
|
|
||||||
ext {
|
ext {
|
||||||
set 'version', version.toString()
|
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
|
import org.apache.tools.ant.filters.ReplaceTokens
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ dependencies {
|
|||||||
|
|
||||||
compileOnly 'commons-io:commons-io:2.11.0'
|
compileOnly 'commons-io:commons-io:2.11.0'
|
||||||
compileOnly 'de.themoep:minedown:1.7.1-SNAPSHOT'
|
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 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
|
||||||
|
compileOnly 'dev.dejvokep:boosted-yaml:1.3'
|
||||||
compileOnly 'com.zaxxer:HikariCP:5.0.1'
|
compileOnly 'com.zaxxer:HikariCP:5.0.1'
|
||||||
|
|
||||||
testImplementation 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
|
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.jetbrains', 'net.william278.husksync.libraries'
|
||||||
relocate 'org.intellij', 'net.william278.husksync.libraries'
|
relocate 'org.intellij', 'net.william278.husksync.libraries'
|
||||||
relocate 'com.zaxxer', '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 'me.lucko.commodore', 'net.william278.husksync.libraries.commodore'
|
||||||
relocate 'net.byteflux.libby', 'net.william278.husksync.libraries.libby'
|
relocate 'net.byteflux.libby', 'net.william278.husksync.libraries.libby'
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ softdepend:
|
|||||||
- MysqlPlayerDataBridge
|
- MysqlPlayerDataBridge
|
||||||
- Plan
|
- Plan
|
||||||
libraries:
|
libraries:
|
||||||
- 'redis.clients:jedis:4.2.3'
|
- 'redis.clients:jedis:${jedis_version}'
|
||||||
- 'mysql:mysql-connector-java:8.0.30'
|
- 'mysql:mysql-connector-java:${mysql_driver_version}'
|
||||||
- 'org.xerial.snappy:snappy-java:1.1.8.4'
|
- 'org.xerial.snappy:snappy-java:${snappy_version}'
|
||||||
- 'dev.dejvokep:boosted-yaml:1.3'
|
|
||||||
commands:
|
commands:
|
||||||
husksync:
|
husksync:
|
||||||
usage: '/husksync <update/info/reload/migrate>'
|
usage: '/husksync <update/info/reload/migrate>'
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ dependencies {
|
|||||||
implementation 'commons-io:commons-io:2.11.0'
|
implementation 'commons-io:commons-io:2.11.0'
|
||||||
implementation 'de.themoep:minedown:1.7.1-SNAPSHOT'
|
implementation 'de.themoep:minedown:1.7.1-SNAPSHOT'
|
||||||
implementation 'com.google.code.gson:gson:2.9.0'
|
implementation 'com.google.code.gson:gson:2.9.0'
|
||||||
|
implementation 'dev.dejvokep:boosted-yaml:1.3'
|
||||||
implementation ('com.zaxxer:HikariCP:5.0.1') {
|
implementation ('com.zaxxer:HikariCP:5.0.1') {
|
||||||
exclude module: 'slf4j-api'
|
exclude module: 'slf4j-api'
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOnly 'redis.clients:jedis:4.2.3'
|
compileOnly 'redis.clients:jedis:' + jedis_version
|
||||||
compileOnly 'dev.dejvokep:boosted-yaml:1.3'
|
compileOnly 'org.xerial.snappy:snappy-java:' + snappy_version
|
||||||
compileOnly 'org.xerial.snappy:snappy-java:1.1.8.4'
|
|
||||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||||
compileOnly 'com.github.plan-player-analytics:Plan:5.4.1690'
|
compileOnly 'com.github.plan-player-analytics:Plan:5.4.1690'
|
||||||
|
|
||||||
@@ -25,4 +25,5 @@ shadowJar {
|
|||||||
relocate 'org.jetbrains', 'net.william278.husksync.libraries'
|
relocate 'org.jetbrains', 'net.william278.husksync.libraries'
|
||||||
relocate 'org.intellij', 'net.william278.husksync.libraries'
|
relocate 'org.intellij', 'net.william278.husksync.libraries'
|
||||||
relocate 'com.zaxxer', 'net.william278.husksync.libraries'
|
relocate 'com.zaxxer', 'net.william278.husksync.libraries'
|
||||||
|
relocate 'dev.dejvokep', 'net.william278.husksync.libraries'
|
||||||
}
|
}
|
||||||
@@ -5,3 +5,7 @@ javaVersion=16
|
|||||||
|
|
||||||
plugin_version=2.0.2
|
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
|
||||||
Reference in New Issue
Block a user