mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
build & dependency updates
This commit is contained in:
8 files changed
+41
-57
No files matched your search
@@ -12,10 +12,9 @@ dependencies {
|
|||||||
implementation(libs.shadow)
|
implementation(libs.shadow)
|
||||||
implementation(libs.indraCommon)
|
implementation(libs.indraCommon)
|
||||||
implementation(libs.indraLicenseHeader)
|
implementation(libs.indraLicenseHeader)
|
||||||
implementation(libs.licenser)
|
|
||||||
implementation(libs.pluginYml)
|
implementation(libs.pluginYml)
|
||||||
implementation(libs.minotaur)
|
implementation(libs.minotaur)
|
||||||
implementation("org.spongepowered:configurate-yaml:4.0.0")
|
implementation(libs.configurateYaml)
|
||||||
compileOnly("com.fasterxml.jackson.core:jackson-core:2.14.0")
|
compileOnly("com.fasterxml.jackson.core:jackson-core:2.14.0")
|
||||||
compileOnly("com.fasterxml.jackson.core:jackson-annotations:2.14.0")
|
compileOnly("com.fasterxml.jackson.core:jackson-annotations:2.14.0")
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ plugins {
|
|||||||
id("net.kyori.indra")
|
id("net.kyori.indra")
|
||||||
id("net.kyori.indra.git")
|
id("net.kyori.indra.git")
|
||||||
id("net.kyori.indra.checkstyle")
|
id("net.kyori.indra.checkstyle")
|
||||||
id("net.kyori.indra.license-header")
|
id("net.kyori.indra.licenser.spotless")
|
||||||
}
|
}
|
||||||
|
|
||||||
version = rootProject.version
|
version = rootProject.version
|
||||||
@@ -17,11 +17,18 @@ indra {
|
|||||||
github(GITHUB_ORGANIZATION, GITHUB_REPO)
|
github(GITHUB_ORGANIZATION, GITHUB_REPO)
|
||||||
}
|
}
|
||||||
|
|
||||||
license {
|
spotless {
|
||||||
header.set(resources.text.fromFile(rootProject.file("LICENSE_HEADER")))
|
java {
|
||||||
exclude("net/draycia/carbon/common/messages/PrefixedDelegateIterator.java")
|
targetExclude(
|
||||||
exclude("net/draycia/carbon/common/messages/StandardPlaceholderResolverStrategyButDifferent.java")
|
"src/main/java/net/draycia/carbon/common/messages/PrefixedDelegateIterator.java",
|
||||||
exclude("com/google/inject/assistedinject")
|
"src/main/java/net/draycia/carbon/common/messages/StandardPlaceholderResolverStrategyButDifferent.java",
|
||||||
|
"src/main/java/com/google/inject/assistedinject/**"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
indraSpotlessLicenser {
|
||||||
|
licenseHeaderFile(rootProject.file("LICENSE_HEADER"))
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
|||||||
+5
-6
@@ -11,8 +11,7 @@ version = projectVersion
|
|||||||
|
|
||||||
hangarPublish.publications.register("plugin") {
|
hangarPublish.publications.register("plugin") {
|
||||||
version.set(projectVersion)
|
version.set(projectVersion)
|
||||||
owner.set("Vicarious")
|
id.set("Carbon")
|
||||||
slug.set("Carbon")
|
|
||||||
channel.set(if (projectVersion.contains("-beta.")) "Beta" else "Release")
|
channel.set(if (projectVersion.contains("-beta.")) "Beta" else "Release")
|
||||||
changelog.set(releaseNotes)
|
changelog.set(releaseNotes)
|
||||||
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
|
apiKey.set(providers.environmentVariable("HANGAR_UPLOAD_KEY"))
|
||||||
@@ -21,7 +20,7 @@ hangarPublish.publications.register("plugin") {
|
|||||||
platformVersions.add("1.19.4-1.20.1")
|
platformVersions.add("1.19.4-1.20.1")
|
||||||
dependencies {
|
dependencies {
|
||||||
url("LuckPerms", "https://luckperms.net/")
|
url("LuckPerms", "https://luckperms.net/")
|
||||||
hangar("EssentialsX", "Essentials") {
|
hangar("Essentials") {
|
||||||
required.set(false)
|
required.set(false)
|
||||||
}
|
}
|
||||||
url("DiscordSRV", "https://www.spigotmc.org/resources/discordsrv.18494/") {
|
url("DiscordSRV", "https://www.spigotmc.org/resources/discordsrv.18494/") {
|
||||||
@@ -30,7 +29,7 @@ hangarPublish.publications.register("plugin") {
|
|||||||
url("PlaceholderAPI", "https://www.spigotmc.org/resources/placeholderapi.6245/") {
|
url("PlaceholderAPI", "https://www.spigotmc.org/resources/placeholderapi.6245/") {
|
||||||
required.set(false)
|
required.set(false)
|
||||||
}
|
}
|
||||||
hangar("MiniPlaceholders", "MiniPlaceholders") {
|
hangar("MiniPlaceholders") {
|
||||||
required.set(false)
|
required.set(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,10 +39,10 @@ hangarPublish.publications.register("plugin") {
|
|||||||
platformVersions.add("3.2")
|
platformVersions.add("3.2")
|
||||||
dependencies {
|
dependencies {
|
||||||
url("LuckPerms", "https://luckperms.net/")
|
url("LuckPerms", "https://luckperms.net/")
|
||||||
hangar("MiniPlaceholders", "MiniPlaceholders") {
|
hangar("MiniPlaceholders") {
|
||||||
required.set(false)
|
required.set(false)
|
||||||
}
|
}
|
||||||
hangar("4drian3d", "UnSignedVelocity") {
|
hangar("UnSignedVelocity") {
|
||||||
required.set(false)
|
required.set(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,26 +17,6 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
//
|
|
||||||
// ban - A punishment suite for Velocity.
|
|
||||||
// Copyright (C) 2021 Mariell Hoversholm
|
|
||||||
//
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU Affero General Public License as published
|
|
||||||
// by the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU Affero General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU Affero General Public License
|
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
// Modified to better fit in Carbon
|
|
||||||
//
|
|
||||||
|
|
||||||
package net.draycia.carbon.common.messages;
|
package net.draycia.carbon.common.messages;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|||||||
+12
-13
@@ -4,22 +4,21 @@ metadata:
|
|||||||
- plugins
|
- plugins
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
org.spongepowered.gradle.plugin: 2.1.1
|
org.spongepowered.gradle.plugin: 2.2.0
|
||||||
xyz.jpenilla.run-paper: &run-task 2.2.0
|
xyz.jpenilla.run-paper: &run-task 2.2.0
|
||||||
xyz.jpenilla.run-velocity: *run-task
|
xyz.jpenilla.run-velocity: *run-task
|
||||||
io.papermc.hangar-publish-plugin: 0.0.5
|
io.papermc.hangar-publish-plugin: 0.1.0
|
||||||
net.kyori.indra.publishing.sonatype: &indra 3.1.3
|
net.kyori.indra.publishing.sonatype: &indra 3.1.3
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
indra: *indra
|
indra: *indra
|
||||||
licenser: 0.6.1
|
|
||||||
shadow: 8.1.1
|
shadow: 8.1.1
|
||||||
adventure: 4.14.0
|
adventure: 4.14.0
|
||||||
cloud: 1.8.4
|
cloud: 1.8.4
|
||||||
cloudSponge: 1.8.0-SNAPSHOT
|
cloudSponge: 1.8.0-SNAPSHOT
|
||||||
configurate: 4.1.2
|
configurate: 4.1.2
|
||||||
typesafeConfig: 1.4.1
|
typesafeConfig: 1.4.1
|
||||||
checkerQual: 3.38.0
|
checkerQual: 3.39.0
|
||||||
stylecheck: 0.1
|
stylecheck: 0.1
|
||||||
gson: 2.10
|
gson: 2.10
|
||||||
guava: 30.1-jre
|
guava: 30.1-jre
|
||||||
@@ -42,23 +41,23 @@ versions:
|
|||||||
discordsrv: 1.26.0
|
discordsrv: 1.26.0
|
||||||
placeholderapi: 2.10.9
|
placeholderapi: 2.10.9
|
||||||
miniplaceholders: 2.2.0
|
miniplaceholders: 2.2.0
|
||||||
jdbi: 3.41.1
|
jdbi: 3.41.3
|
||||||
hikari: 5.0.1
|
hikari: 5.0.1
|
||||||
mysql: 8.0.33
|
mysql: 8.0.33
|
||||||
protobuf: 3.21.9
|
protobuf: 3.21.9
|
||||||
flyway: 9.22.1
|
flyway: 9.22.2
|
||||||
caffeine: 3.1.8
|
caffeine: 3.1.8
|
||||||
mariadb: 3.2.0
|
mariadb: 3.2.0
|
||||||
messenger: 1.1.0-SNAPSHOT
|
messenger: 1.1.0-SNAPSHOT
|
||||||
netty: 4.1.68.Final
|
netty: 4.1.68.Final
|
||||||
zstdjni: 1.5.5-5
|
zstdjni: 1.5.5-5
|
||||||
jedis: 5.0.0
|
jedis: 5.0.1
|
||||||
postgresql: 42.6.0
|
postgresql: 42.6.0
|
||||||
rabbitmq: 5.18.0
|
rabbitmq: 5.18.0
|
||||||
nats: 2.16.14
|
nats: 2.16.14
|
||||||
pluginYml: 0.5.3
|
pluginYml: 0.5.3
|
||||||
minotaur: 2.7.5
|
minotaur: 2.7.5
|
||||||
h2: 2.2.222
|
h2: 2.2.224
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
adventureBom:
|
adventureBom:
|
||||||
@@ -158,6 +157,10 @@ dependencies:
|
|||||||
group: org.spongepowered
|
group: org.spongepowered
|
||||||
name: configurate-hocon
|
name: configurate-hocon
|
||||||
version: { ref: configurate }
|
version: { ref: configurate }
|
||||||
|
configurateYaml:
|
||||||
|
group: org.spongepowered
|
||||||
|
name: configurate-yaml
|
||||||
|
version: { ref: configurate }
|
||||||
typesafeConfig:
|
typesafeConfig:
|
||||||
group: com.typesafe
|
group: com.typesafe
|
||||||
name: config
|
name: config
|
||||||
@@ -328,16 +331,12 @@ dependencies:
|
|||||||
version: { ref: indra }
|
version: { ref: indra }
|
||||||
indraLicenseHeader:
|
indraLicenseHeader:
|
||||||
group: net.kyori
|
group: net.kyori
|
||||||
name: indra-licenser-cadix
|
name: indra-licenser-spotless
|
||||||
version: { ref: indra }
|
version: { ref: indra }
|
||||||
shadow:
|
shadow:
|
||||||
group: com.github.johnrengelman
|
group: com.github.johnrengelman
|
||||||
name: shadow
|
name: shadow
|
||||||
version: { ref: shadow }
|
version: { ref: shadow }
|
||||||
licenser:
|
|
||||||
group: org.cadixdev.licenser
|
|
||||||
name: org.cadixdev.licenser.gradle.plugin
|
|
||||||
version: { ref: licenser }
|
|
||||||
pluginYml:
|
pluginYml:
|
||||||
group: net.minecrell
|
group: net.minecrell
|
||||||
name: plugin-yml
|
name: plugin-yml
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|||||||
case $MAX_FD in #(
|
case $MAX_FD in #(
|
||||||
max*)
|
max*)
|
||||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||||
# shellcheck disable=SC3045
|
# shellcheck disable=SC2039,SC3045
|
||||||
MAX_FD=$( ulimit -H -n ) ||
|
MAX_FD=$( ulimit -H -n ) ||
|
||||||
warn "Could not query maximum file descriptor limit"
|
warn "Could not query maximum file descriptor limit"
|
||||||
esac
|
esac
|
||||||
@@ -153,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|||||||
'' | soft) :;; #(
|
'' | soft) :;; #(
|
||||||
*)
|
*)
|
||||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||||
# shellcheck disable=SC3045
|
# shellcheck disable=SC2039,SC3045
|
||||||
ulimit -n "$MAX_FD" ||
|
ulimit -n "$MAX_FD" ||
|
||||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||||
esac
|
esac
|
||||||
@@ -202,11 +202,11 @@ fi
|
|||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
# 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"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Collect all arguments for the java command;
|
# Collect all arguments for the java command:
|
||||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||||
# shell script including quotes and variable substitutions, so put them in
|
# and any embedded shellness will be escaped.
|
||||||
# double quotes to make sure that they get re-expanded; and
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||||
# * put everything else in single quotes, so that it's not re-expanded.
|
# treated as '${Hostname}' itself on the command line.
|
||||||
|
|
||||||
set -- \
|
set -- \
|
||||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
|
|||||||
+2
-2
@@ -60,9 +60,9 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
|
||||||
id("ca.stellardrift.polyglot-version-catalogs") version "6.1.0"
|
id("ca.stellardrift.polyglot-version-catalogs") version "6.1.0"
|
||||||
id("quiet-fabric-loom") version "1.3-SNAPSHOT"
|
id("quiet-fabric-loom") version "1.4-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "CarbonChat"
|
rootProject.name = "CarbonChat"
|
||||||
|
|||||||
Reference in new issue
Block a user