mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Bumps org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1. --- updated-dependencies: - dependency-name: org.apache.commons:commons-pool2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
73 lines
2.6 KiB
Groovy
73 lines
2.6 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.impactdev.net/repository/development/' }
|
|
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:placeholder-api:${fabric_placeholder_api_version}")
|
|
modImplementation include("net.impactdev.impactor.api:economy:${fabric_impactor_api_version}")
|
|
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.5.0")
|
|
implementation include("org.snakeyaml:snakeyaml-engine:2.7")
|
|
implementation include('org.apache.commons:commons-pool2:2.12.1')
|
|
|
|
// Include driver deps due to no runtime dep loading support
|
|
implementation include("org.xerial:sqlite-jdbc:$sqlite_driver_version")
|
|
implementation include("com.mysql:mysql-connector-j:$mysql_driver_version")
|
|
implementation include("org.mariadb.jdbc:mariadb-java-client:$mariadb_driver_version")
|
|
implementation include("redis.clients:jedis:$jedis_version")
|
|
implementation include("com.h2database:h2:$h2_driver_version")
|
|
|
|
compileOnly 'org.jetbrains:annotations:26.0.2'
|
|
compileOnly 'org.projectlombok:lombok:1.18.36'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.36'
|
|
|
|
implementation include(project(path: ":common"))
|
|
project(":common").configurations.api.dependencies.each { dependency ->
|
|
include(dependency)
|
|
}
|
|
}
|
|
|
|
processResources {
|
|
filesMatching(Arrays.asList("fabric.mod.json")) {
|
|
expand([
|
|
version: version,
|
|
fabric_loader_version: fabric_loader_version,
|
|
fabric_minecraft_version: project.name,
|
|
])
|
|
}
|
|
}
|
|
|
|
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) |