Skip to content

Commit

Permalink
Release 2.5.3 (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs authored Jun 16, 2023
2 parents 9aa38b1 + 97889b2 commit 9ec27ed
Show file tree
Hide file tree
Showing 10 changed files with 99 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "Creating .nojekyll to have Github pages deploy html as is:"
touch .nojekyll
- name: Deploy
uses: JamesIves/[email protected].1
uses: JamesIves/[email protected].2
with:
branch: gh-pages # The branch the action should deploy to.
folder: schematicbrushreborn-api/build/docs/javadoc # The folder the action should deploy.
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.5.1
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.5.1
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down
43 changes: 18 additions & 25 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import de.chojo.PublishData

plugins {
java
id("com.diffplug.spotless") version "6.18.0"
id("de.chojo.publishdata") version "1.2.4"
alias(libs.plugins.spotless)
alias(libs.plugins.publishdata)
`maven-publish`
}

group = "de.eldoria"
version = "2.5.2"
version = "2.5.3"

var publishModules = setOf("schematicbrushreborn-api",
"schematicbrushreborn-core",
Expand Down Expand Up @@ -52,38 +52,31 @@ allprojects {
}

dependencies {
compileOnly("io.papermc.paper", "paper-api", "1.17.1-R0.1-SNAPSHOT")
compileOnly("org.spigotmc", "spigot-api", "1.16.5-R0.1-SNAPSHOT")
compileOnly("org.jetbrains", "annotations", "24.0.1")
// This is required. https://github.com/gradle/gradle/issues/16634#issuecomment-809345790
val libs = rootProject.libs
val testlibs = rootProject.testlibs
compileOnly(libs.paper.v17)
compileOnly(libs.spigot.v16)
compileOnly(libs.jetbrains.annotations)
// Due to incompatibility by the yaml versions defined by world edit, fawe and bukkit we need to exclude it everywhere and add our own version...
compileOnly("org.yaml", "snakeyaml", "1.33")
compileOnly("com.sk89q.worldedit", "worldedit-bukkit", "7.2.14") {
exclude("org.yaml")
}
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.6.1") {
compileOnly(libs.snakeyaml)
compileOnly(libs.worldedit)
compileOnly(libs.fawe.core) {
exclude("com.intellectualsites.paster")
exclude("org.yaml")
exclude("net.kyori")
}
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.6.1") {
isTransitive = false
exclude("org.yaml")
}
compileOnly(libs.fawe.bukkit)

testImplementation(platform("org.junit:junit-bom:5.9.2"))
testImplementation(platform("org.junit:junit-bom:5.9.3"))
testImplementation("org.junit.jupiter", "junit-jupiter")
testImplementation("com.github.seeseemelk", "MockBukkit-v1.19", "2.147.1")
testImplementation("com.sk89q.worldedit", "worldedit-bukkit", "7.2.14") {
testImplementation(testlibs.mockbukkit)
testImplementation(libs.worldedit) {
exclude("org.yaml")
}
testImplementation("com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.6.1") {
testImplementation(libs.fawe.core) {
exclude("com.intellectualsites.paster")
exclude("org.yaml")
}
testImplementation("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.6.1") {
isTransitive = false
exclude("org.yaml")
}
testImplementation(libs.fawe.bukkit)
}

tasks {
Expand Down
10 changes: 5 additions & 5 deletions schematicbrushreborn-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ plugins {
}

dependencies {
api("de.eldoria", "eldo-util", "1.14.4")
api("de.eldoria.util", "jackson-configuration", "2.0.0-DEV")
api("de.eldoria", "messageblocker", "1.1.1")
api("net.kyori", "adventure-platform-bukkit", "4.3.0")
api("net.kyori", "adventure-text-minimessage", "4.13.1")
api(libs.eldoutil.legacy)
api(libs.eldoutil.jackson)
api(libs.messageblocker)
api(libs.adventure.bukkit)
api(libs.adventure.minimessage)
}

publishData {
Expand Down
15 changes: 6 additions & 9 deletions schematicbrushreborn-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ dependencies {
exclude("org.jetbrains")
exclude("org.intellij")
}
compileOnly("org.jetbrains", "annotations", "24.0.1")
compileOnly("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
compileOnly("com.fasterxml.jackson.core:jackson-core:2.14.2")
compileOnly("com.fasterxml.jackson.core:jackson-databind:2.14.2")
compileOnly("net.kyori:adventure-platform-bukkit:4.3.0")
compileOnly("net.kyori:adventure-text-minimessage:4.13.1")
compileOnly(libs.jetbrains.annotations)
compileOnly(libs.jackson.yaml)
compileOnly(libs.adventure.bukkit)
compileOnly(libs.adventure.minimessage)

testImplementation(project(":schematicbrushreborn-api"))
testImplementation("org.jetbrains", "annotations", "24.0.1")
testImplementation(libs.jetbrains.annotations)
testImplementation("org.mockito", "mockito-core", "5.3.1")
testImplementation("com.fasterxml.jackson.core", "jackson-databind", "2.14.2")
testImplementation(libs.jackson.databind)
}

publishData {
useInternalEldoNexusRepos()
publishComponent("java")
Expand Down
12 changes: 5 additions & 7 deletions schematicbrushreborn-paper-legacy/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
id("net.minecrell.plugin-yml.bukkit") version "0.5.3"
alias(libs.plugins.pluginyml.bukkit)
alias(libs.plugins.shadow)
}

val shadebase = "de.eldoria.schematicbrush.libs."

dependencies {
implementation(project(":schematicbrushreborn-core"))
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
implementation("com.fasterxml.jackson.core:jackson-core:2.14.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
implementation("net.kyori:adventure-platform-bukkit:4.3.0")
implementation("net.kyori:adventure-text-minimessage:4.13.1")
implementation(libs.bundles.jackson)
implementation(libs.adventure.bukkit)
implementation(libs.adventure.minimessage)
}

publishData {
Expand Down
10 changes: 4 additions & 6 deletions schematicbrushreborn-paper/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
plugins {
id("net.minecrell.plugin-yml.bukkit") version "0.5.3"
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.pluginyml.bukkit)
alias(libs.plugins.shadow)
}

val shadebase = "de.eldoria.schematicbrush.libs."

dependencies {
implementation(project(":schematicbrushreborn-core"))
bukkitLibrary("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
bukkitLibrary("com.fasterxml.jackson.core:jackson-core:2.14.2")
bukkitLibrary("com.fasterxml.jackson.core:jackson-databind:2.14.2")
bukkitLibrary("net.kyori", "adventure-platform-bukkit", "4.3.0")
bukkitLibrary(libs.bundles.jackson)
bukkitLibrary(libs.adventure.bukkit)
}

publishData {
Expand Down
12 changes: 5 additions & 7 deletions schematicbrushreborn-spigot/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
plugins {
id("net.minecrell.plugin-yml.bukkit") version "0.5.3"
id("com.github.johnrengelman.shadow") version "8.1.1"
alias(libs.plugins.pluginyml.bukkit)
alias(libs.plugins.shadow)
}

val shadebase = "de.eldoria.schematicbrush.libs."

dependencies {
bukkitLibrary("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
bukkitLibrary("com.fasterxml.jackson.core:jackson-core:2.14.2")
bukkitLibrary("com.fasterxml.jackson.core:jackson-databind:2.14.2")
bukkitLibrary("net.kyori:adventure-platform-bukkit:4.3.0")
bukkitLibrary("net.kyori:adventure-text-minimessage:4.13.1")
bukkitLibrary(libs.jackson.yaml)
bukkitLibrary(libs.adventure.bukkit)
bukkitLibrary(libs.adventure.minimessage)

implementation(project(":schematicbrushreborn-core"))
}
Expand Down
59 changes: 53 additions & 6 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,18 +1,65 @@
rootProject.name = "schematic-brush-reborn"
include(":")
include(":schematicbrushreborn-api")
include(":schematicbrushreborn-core")
include("schematicbrushreborn-paper")
include("schematicbrushreborn-paper-legacy")
include("schematicbrushreborn-spigot")

pluginManagement{
repositories{
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
maven{
maven {
name = "EldoNexus"
url = uri("https://eldonexus.de/repository/maven-public/")

}
}
}
include("schematicbrushreborn-paper")
include("schematicbrushreborn-paper-legacy")
include("schematicbrushreborn-spigot")

dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// jackson & serialization
version("jackson", "2.14.2")
library("jackson-databind", "com.fasterxml.jackson.core:jackson-databind:2.15.2")
library("jackson-annotations", "com.fasterxml.jackson.core:jackson-annotations:2.15.2")
library("jackson-yaml", "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2")
library("snakeyaml", "org.yaml:snakeyaml:2.0")
bundle("jackson", listOf("jackson-databind", "jackson-annotations", "jackson-yaml"))

// adventure
library("adventure-bukkit", "net.kyori:adventure-platform-bukkit:4.3.0")
library("adventure-minimessage", "net.kyori:adventure-text-minimessage:4.14.0")
// utilities
library("eldoutil-legacy", "de.eldoria:eldo-util:1.14.4")
library("eldoutil-jackson", "de.eldoria.util:jackson-configuration:2.0.0-DEV")
library("messageblocker", "de.eldoria:messageblocker:1.1.2")
// misc
library("jetbrains-annotations", "org.jetbrains:annotations:24.0.1")
// minecraft
version("minecraft-latest", "1.20.1-R0.1-SNAPSHOT")
library("paper-latest", "io.papermc.paper", "paper-api").version("minecraft-latest")
library("spigot-latest", "io.papermc.paper", "paper-api").version("minecraft-latest")
bundle("minecraft-latest", listOf("paper-latest", "spigot-latest"))
library("paper-v17", "io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
library("spigot-v16", "io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
// world edit
library("worldedit", "com.sk89q.worldedit:worldedit-bukkit:7.2.15")
library("fawe-core", "com.fastasyncworldedit:FastAsyncWorldEdit-Core:2.6.3")
library("fawe-bukkit", "com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit:2.6.3")

// plugins
plugin("publishdata", "de.chojo.publishdata").version("1.2.4")
plugin("spotless", "com.diffplug.spotless").version("6.19.0")
plugin("shadow", "com.github.johnrengelman.shadow").version("8.1.1")
plugin("pluginyml-bukkit", "net.minecrell.plugin-yml.bukkit").version("0.5.3")
//plugin("pluginyml-paper","net.minecrell.plugin-yml.paper").version( "0.5.3")

}
create("testlibs") {
library("mockbukkit", "com.github.seeseemelk:MockBukkit-v1.19:3.1.0")
}
}
}

0 comments on commit 9ec27ed

Please sign in to comment.