mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
Bumps [org.snakeyaml:snakeyaml-engine](https://bitbucket.org/snakeyaml/snakeyaml-engine) from 2.9 to 2.10. - [Commits](https://bitbucket.org/snakeyaml/snakeyaml-engine/branches/compare/snakeyaml-engine-2.10..snakeyaml-engine-2.9) --- updated-dependencies: - dependency-name: org.snakeyaml:snakeyaml-engine dependency-version: '2.10' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
77 lines
2.9 KiB
Groovy
77 lines
2.9 KiB
Groovy
plugins {
|
|
id 'gg.essential.multi-version'
|
|
id 'gg.essential.defaults'
|
|
}
|
|
|
|
loom.serverOnlyMinecraftJar()
|
|
|
|
repositories {
|
|
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
|
|
maven { url 'https://maven.nucleoid.xyz' }
|
|
}
|
|
|
|
dependencies {
|
|
modImplementation include("net.kyori:adventure-platform-fabric:${fabric_adventure_platform_version}")
|
|
modImplementation include("me.lucko:fabric-permissions-api:${fabric_permissions_api_version}")
|
|
modImplementation include("eu.pb4:sgui:${fabric_sgui_version}")
|
|
modImplementation include("net.william278.uniform:uniform-fabric:1.3.8+${project.name}")
|
|
modImplementation include("net.william278.toilet:toilet-fabric:1.0.15+${project.name}")
|
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
|
|
|
|
// Manually include config deps due to the way including api deps works
|
|
implementation include("de.exlll:configlib-core:4.6.1")
|
|
implementation include("org.snakeyaml:snakeyaml-engine:2.10")
|
|
implementation include('org.apache.commons:commons-pool2:2.12.1')
|
|
|
|
// Include driver deps due to no runtime dep loading support
|
|
implementation include("com.mysql:mysql-connector-j:$mysql_driver_version")
|
|
implementation include("org.postgresql:postgresql:$postgres_driver_version")
|
|
implementation include("org.mariadb.jdbc:mariadb-java-client:$mariadb_driver_version")
|
|
implementation include("org.xerial.snappy:snappy-java:$snappy_version")
|
|
implementation include("redis.clients:jedis:$jedis_version")
|
|
implementation include("redis.clients.authentication:redis-authx-core:0.1.1-beta2") // Redis dep
|
|
implementation include('org.apache.commons:commons-pool2:2.12.1') // Redis dep
|
|
|
|
compileOnly 'net.william278:DesertWell:2.0.4'
|
|
compileOnly 'org.jetbrains:annotations:26.0.2'
|
|
compileOnly 'org.projectlombok:lombok:1.18.38'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.38'
|
|
|
|
implementation include(project(path: ":common"))
|
|
project(":common").configurations.api.dependencies.each { dependency ->
|
|
include(dependency)
|
|
}
|
|
}
|
|
|
|
processResources {
|
|
filesMatching(Arrays.asList("fabric.mod.json", "compatibility.yml")) {
|
|
expand([
|
|
version: version,
|
|
fabric_loader_version: fabric_loader_version,
|
|
fabric_minecraft_version: project.name,
|
|
minecraft_version_range: minecraft_version_range
|
|
])
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
configurations = [project.configurations.shadow]
|
|
destinationDirectory.set(file("$projectDir/build/libs"))
|
|
|
|
exclude('net.fabricmc:.*')
|
|
exclude('net.kyori:.*')
|
|
exclude '/mappings/*'
|
|
}
|
|
|
|
remapJar {
|
|
dependsOn tasks.shadowJar
|
|
mustRunAfter tasks.shadowJar
|
|
inputFile = shadowJar.archiveFile.get()
|
|
addNestedDependencies = true
|
|
|
|
destinationDirectory.set(file("$rootDir/target/"))
|
|
archiveClassifier.set('')
|
|
}
|
|
|
|
shadowJar.finalizedBy(remapJar) |