Files
HuskHomes/sponge/build.gradle
T
dependabot[bot] 61adbb0b5b deps: bump org.projectlombok:lombok from 1.18.30 to 1.18.32 (#597)
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.30 to 1.18.32.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.30...v1.18.32)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  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>
2024-03-30 14:58:45 +00:00

81 lines
3.0 KiB
Groovy

import org.spongepowered.gradle.plugin.config.PluginLoaders
import org.spongepowered.plugin.metadata.model.PluginDependency
plugins {
id 'org.spongepowered.gradle.plugin' version '2.2.0'
}
dependencies {
implementation project(path: ':common')
implementation 'org.bstats:bstats-sponge:3.0.2'
implementation "redis.clients:jedis:${jedis_version}"
implementation "com.mysql:mysql-connector-j:${mysql_driver_version}"
implementation "org.mariadb.jdbc:mariadb-java-client:${mariadb_driver_version}"
implementation "org.xerial:sqlite-jdbc:${sqlite_driver_version}"
implementation "com.h2database:h2:${h2_driver_version}"
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
}
sponge {
apiVersion("10.0.0")
loader {
name(PluginLoaders.JAVA_PLAIN)
version("1.0")
}
license("Apache-2.0")
plugin("huskhomes") {
displayName("HuskHomes")
version(project.version.toString())
entrypoint("net.william278.huskhomes.SpongeHuskHomes")
description(project.description.toString())
links {
homepage("https://william278.net/project/huskhomes")
source("https://github.com/WiIIiam278/HuskHomes")
issues("https://github.com/WiIIiam278/HuskHomes/issues")
}
contributor("William278") {
description("Author")
}
dependency("spongeapi") {
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(false)
}
dependency("bluemap") {
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(true)
version("3.4")
}
dependency("plan") {
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(true)
version("5.4")
}
}
}
shadowJar {
destinationDirectory.set(file("$rootDir/target/"))
archiveClassifier.set('')
exclude('org.spongepowered:.*')
exclude('net.kyori:.*')
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.json', 'net.william278.huskhomes.libraries.json'
relocate 'org.yaml.snakeyaml', 'net.william278.huskhomes.libraries.snakeyaml'
relocate 'com.google.gson', 'net.william278.huskhomes.libraries.gson'
relocate 'org.bstats', 'net.william278.huskhomes.libraries.bstats'
}