Skip to content

Commit

Permalink
Release 1.0.5 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs authored Jun 16, 2023
2 parents a8cf3a2 + a413827 commit 5890d21
Show file tree
Hide file tree
Showing 14 changed files with 237 additions and 205 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Javadocs
on:
push:
branches:
- master
- main
workflow_dispatch:

jobs:
Expand All @@ -25,7 +25,7 @@ jobs:
echo "Creating .nojekyll to have Github pages deploy html as is:"
touch .nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: companies-api/build/docs/javadoc # The folder the action should deploy.
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
- dev*
- feature/*
- release/*
Expand All @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.3.0
- 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.3.0
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down
18 changes: 10 additions & 8 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.16.0"
id("de.chojo.publishdata") version "1.2.4"
alias(libs.plugins.spotless)
alias(libs.plugins.publishdata)
`maven-publish`
}

group = "de.eldoria"
version = "1.0.4"
version = "1.0.5"

subprojects {
apply {
Expand Down Expand Up @@ -37,12 +37,14 @@ allprojects {


dependencies {
compileOnly("io.papermc.paper", "paper-api", "1.19.4-R0.1-SNAPSHOT")
compileOnly("org.jetbrains", "annotations", "24.0.1")
val libs = rootProject.libs
val testlibs = rootProject.testlibs
compileOnly(libs.paper.latest)
compileOnly(libs.jetbrains.annotations)

testImplementation("org.spigotmc", "spigot-api", "1.16.5-R0.1-SNAPSHOT")
testImplementation(platform("org.junit:junit-bom:5.9.2"))
testImplementation("com.github.seeseemelk", "MockBukkit-v1.16", "1.5.2")
testImplementation(libs.spigot.v16)
testImplementation(platform("org.junit:junit-bom:5.9.3"))
testImplementation(testlibs.mockbukkit)
testImplementation("org.junit.jupiter", "junit-jupiter")
}

Expand Down
2 changes: 1 addition & 1 deletion companies-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}

Expand Down
36 changes: 10 additions & 26 deletions companies-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,26 @@ plugins {

dependencies {
api(project(":companies-api"))
api("de.chojo.sadu", "sadu-queries", "1.3.0")
api("de.chojo.sadu", "sadu-updater", "1.3.0")
api("de.chojo.sadu", "sadu-datasource", "1.3.0")
api("de.chojo.sadu", "sadu-postgresql", "1.3.0")
api("de.chojo.sadu", "sadu-mariadb", "1.3.0")
api("de.chojo.sadu", "sadu-sqlite", "1.3.0")
api(libs.bundles.sadu)

api("de.eldoria.util", "jackson-configuration", "2.0.0-DEV") {
api(libs.bundles.eldoria.utilities) {
exclude("com.fasterxml.jackson.dataformat")
exclude("com.fasterxml.jackson.core")
exclude("com.fasterxml.jackson")
}
api("de.eldoria.util", "plugin", "2.0.0-DEV"){
exclude("net.kyori")
}
api("de.eldoria.util", "threading", "2.0.0-DEV")
api("de.eldoria.util", "updater", "2.0.0-DEV")
api("de.eldoria", "messageblocker", "1.1.2")
api(libs.messageblocker)

compileOnly("com.comphenix.protocol", "ProtocolLib", "4.8.0")
compileOnly("me.clip", "placeholderapi", "2.11.3")
compileOnly("com.github.MilkBowl", "VaultAPI", "1.7.1")
compileOnly(libs.protocollib)
compileOnly(libs.papi)
compileOnly(libs.vault)

compileOnly("net.kyori", "adventure-api", "4.12.0")
compileOnly("net.kyori", "adventure-platform-bukkit", "4.2.0")
compileOnly(libs.bundles.adventure)

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(libs.bundles.jackson)

// database
compileOnly("com.zaxxer", "HikariCP", "5.0.1")
compileOnly("org.mariadb.jdbc", "mariadb-java-client", "3.1.2")
compileOnly("org.xerial", "sqlite-jdbc", "3.41.2.1")
compileOnly("org.postgresql", "postgresql", "42.5.4")
compileOnly(libs.bundles.database)

testImplementation("net.kyori", "adventure-api", "4.12.0")
testImplementation("net.kyori", "adventure-platform-bukkit", "4.2.0")
testImplementation(libs.bundles.adventure)
}

This file was deleted.

23 changes: 11 additions & 12 deletions companies-spigot-latest/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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)
}

dependencies {
Expand All @@ -12,19 +12,18 @@ dependencies {
exclude("org.slf4j")
}
// text
bukkitLibrary("net.kyori", "adventure-api", "4.12.0")
bukkitLibrary("net.kyori", "adventure-platform-bukkit", "4.2.0")

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(libs.adventure.bukkit)
bukkitLibrary(libs.adventure.minimessage)

bukkitLibrary(libs.jackson.yaml)
bukkitLibrary(libs.jackson.core)
bukkitLibrary(libs.jackson.databind)

// database
bukkitLibrary("com.zaxxer", "HikariCP", "5.0.1")
bukkitLibrary("org.mariadb.jdbc", "mariadb-java-client", "3.1.2")
bukkitLibrary("org.xerial", "sqlite-jdbc", "3.41.2.1")
bukkitLibrary("org.postgresql", "postgresql", "42.5.4")
bukkitLibrary(libs.postgres)
bukkitLibrary(libs.mariadb)
bukkitLibrary(libs.sqlite)
bukkitLibrary(libs.hikari)
}

publishData {
Expand Down
17 changes: 6 additions & 11 deletions companies-spigot-legacy/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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)
}

dependencies {
Expand All @@ -13,18 +13,13 @@ dependencies {
}

// text
implementation("net.kyori", "adventure-api", "4.12.0")
implementation("net.kyori", "adventure-platform-bukkit", "4.2.0")
implementation(libs.adventure.minimessage)
implementation(libs.adventure.bukkit)

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(libs.bundles.jackson)

// database
bukkitLibrary("com.zaxxer", "HikariCP", "5.0.1")
bukkitLibrary("org.mariadb.jdbc", "mariadb-java-client", "3.1.2")
bukkitLibrary("org.xerial", "sqlite-jdbc", "3.41.2.1")
bukkitLibrary("org.postgresql", "postgresql", "42.5.4")
bukkitLibrary(libs.bundles.database)
}


Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
25 changes: 18 additions & 7 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand All @@ -80,13 +80,10 @@ do
esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -143,12 +140,16 @@ fi
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -193,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done
fi


# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
Expand All @@ -205,6 +210,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"

# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi

# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
Expand Down
Loading

0 comments on commit 5890d21

Please sign in to comment.