mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 14:38:53 +00:00
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations) from 24.1.0 to 26.0.1. - [Release notes](https://github.com/JetBrains/java-annotations/releases) - [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md) - [Commits](https://github.com/JetBrains/java-annotations/compare/24.1.0...26.0.1) --- updated-dependencies: - dependency-name: org.jetbrains:annotations dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
75 lines
3.1 KiB
Groovy
75 lines
3.1 KiB
Groovy
plugins {
|
|
id 'fabric-loom' version "$fabric_loom_version"
|
|
}
|
|
|
|
apply plugin: 'fabric-loom'
|
|
loom.serverOnlyMinecraftJar()
|
|
|
|
repositories {
|
|
maven {
|
|
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
|
|
mavenContent { snapshotsOnly() }
|
|
}
|
|
maven { url 'https://maven.impactdev.net/repository/development/' }
|
|
maven { url 'https://maven.nucleoid.xyz/' }
|
|
}
|
|
|
|
dependencies {
|
|
minecraft "com.mojang:minecraft:${fabric_minecraft_version}"
|
|
mappings "net.fabricmc:yarn:${fabric_yarn_mappings}:v2"
|
|
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
|
|
|
|
modImplementation include("net.kyori:adventure-platform-fabric:${adventure_platform_fabric_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}")
|
|
modCompileOnly "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
|
|
|
|
implementation include('org.apache.commons:commons-pool2:2.12.0')
|
|
implementation include("redis.clients:jedis:$jedis_version")
|
|
implementation include("com.mysql:mysql-connector-j:$mysql_driver_version")
|
|
implementation include("org.mariadb.jdbc:mariadb-java-client:$mariadb_driver_version")
|
|
implementation include("org.xerial:sqlite-jdbc:$sqlite_driver_version")
|
|
implementation include("com.h2database:h2:$h2_driver_version")
|
|
|
|
compileOnly 'org.jetbrains:annotations:26.0.1'
|
|
compileOnly 'org.projectlombok:lombok:1.18.34'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
shadow project(path: ":common")
|
|
}
|
|
|
|
shadowJar {
|
|
configurations = [project.configurations.shadow]
|
|
destinationDirectory.set(file("$projectDir/build/libs"))
|
|
|
|
exclude('net.fabricmc:.*')
|
|
exclude('net.kyori:.*')
|
|
exclude '/mappings/*'
|
|
|
|
relocate 'org.apache.commons.io', 'net.william278.huskhomes.libraries.commons.io'
|
|
relocate 'org.apache.commons.text', 'net.william278.huskhomes.libraries.commons.text'
|
|
relocate 'org.apache.commons.lang3', 'net.william278.huskhomes.libraries.commons.lang3'
|
|
relocate 'de.themoep', 'net.william278.huskhomes.libraries'
|
|
relocate 'org.jetbrains', 'net.william278.huskhomes.libraries'
|
|
relocate 'org.intellij', 'net.william278.huskhomes.libraries'
|
|
relocate 'com.zaxxer', 'net.william278.huskhomes.libraries'
|
|
relocate 'net.william278.paginedown', 'net.william278.huskhomes.libraries.paginedown'
|
|
relocate 'net.william278.desertwell', 'net.william278.huskhomes.libraries.desertwell'
|
|
relocate 'de.exlll', 'net.william278.huskhomes.libraries'
|
|
relocate 'org.yaml.snakeyaml', 'net.william278.huskhomes.libraries.snakeyaml'
|
|
relocate 'com.google.gson', 'net.william278.huskhomes.libraries.gson'
|
|
}
|
|
|
|
remapJar {
|
|
dependsOn tasks.shadowJar
|
|
mustRunAfter tasks.shadowJar
|
|
inputFile = shadowJar.archiveFile.get()
|
|
addNestedDependencies = true
|
|
|
|
destinationDirectory.set(file("$rootDir/target/"))
|
|
archiveClassifier.set('')
|
|
}
|
|
|
|
shadowJar.finalizedBy(remapJar) |