Skip to content

Commit

Permalink
Cleanup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
56738 committed Jan 10, 2025
1 parent 2054e50 commit b3fc978
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 28 deletions.
7 changes: 5 additions & 2 deletions build-logic/src/main/kotlin/easyarmorstands.base.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ version = property("version")!!
repositories {
mavenCentral()
maven("https://repo.56738.me")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://maven.enginehub.org/repo/") {
mavenContent {
includeGroupByRegex("com\\.sk89q\\..*")
}
}
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://maven.enginehub.org/repo/")
maven("https://ci.mg-dev.eu/plugin/repository/everything/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://repo.glaremasters.me/repository/bloodshot/") {
Expand Down
4 changes: 3 additions & 1 deletion easyarmorstands-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ plugins {
}

dependencies {
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
api(libs.adventure.api)
api(libs.adventure.text.minimessage)
api(libs.configurate.core)
Expand Down
4 changes: 3 additions & 1 deletion easyarmorstands-display-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {
}

dependencies {
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT") {
isTransitive = false
}
api(project(":easyarmorstands-api"))
}
4 changes: 3 additions & 1 deletion easyarmorstands-display/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ plugins {
dependencies {
implementation(project(":easyarmorstands-display-api"))
compileOnly(project(":easyarmorstands-plugin"))
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT") {
isTransitive = false
}
compileOnly(libs.brigadier)
}

Expand Down
4 changes: 3 additions & 1 deletion easyarmorstands-fancyholograms/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ dependencies {
compileOnly(project(":easyarmorstands-plugin"))
compileOnly(project(":easyarmorstands-display"))
compileOnly(project(":easyarmorstands-display-api"))
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT")
compileOnly("org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT") {
isTransitive = false
}
compileOnly(libs.fancyholograms)
}

Expand Down
4 changes: 3 additions & 1 deletion easyarmorstands-griefdefender/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.griefdefender.api)
}
4 changes: 3 additions & 1 deletion easyarmorstands-headdatabase/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
compileOnly(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.headdatabase.api)
}
4 changes: 3 additions & 1 deletion easyarmorstands-lands/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.lands.api)
}
10 changes: 3 additions & 7 deletions easyarmorstands-plotsquared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
implementation(platform("com.intellectualsites.bom:bom-1.18.x:1.31"))
compileOnly("com.plotsquared:PlotSquared-Core") {
exclude("net.kyori", "adventure-api")
Expand All @@ -13,9 +15,3 @@ dependencies {
isTransitive = false
}
}

tasks {
withType<JavaCompile>().configureEach {
options.release.set(17)
}
}
2 changes: 1 addition & 1 deletion easyarmorstands-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {

dependencies {
compileOnly(libs.bukkit) {
exclude("org.yaml", "snakeyaml")
isTransitive = false
}
api(project(":easyarmorstands-api"))
api(libs.adventure.platform.bukkit)
Expand Down
4 changes: 3 additions & 1 deletion easyarmorstands-residence/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.residence)
}
4 changes: 3 additions & 1 deletion easyarmorstands-towny/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.towny)
}
4 changes: 3 additions & 1 deletion easyarmorstands-traincarts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
compileOnly(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.traincarts)
}
4 changes: 3 additions & 1 deletion easyarmorstands-worldguard-v6/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly(libs.bukkit)
compileOnly(libs.bukkit) {
isTransitive = false
}
compileOnly(libs.worldguard.v6)
}
10 changes: 3 additions & 7 deletions easyarmorstands-worldguard-v7/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ plugins {

dependencies {
implementation(project(":easyarmorstands-plugin"))
compileOnly("org.bukkit:bukkit:1.13-R0.1-SNAPSHOT")
compileOnly(libs.worldguard.v7)
}

tasks {
withType<JavaCompile>().configureEach {
options.release.set(17)
compileOnly("org.bukkit:bukkit:1.13-R0.1-SNAPSHOT") {
isTransitive = false
}
compileOnly(libs.worldguard.v7)
}

0 comments on commit b3fc978

Please sign in to comment.