mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
build: Update Gradle & plugins
This commit is contained in:
5 files changed
+15
-14
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("carbon.publishing-conventions")
|
id("carbon.publishing-conventions")
|
||||||
id("org.incendo.cloud-build-logic.javadoc-links") version "0.0.10"
|
alias(libs.plugins.javadoc.links)
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "API for interfacing with the CarbonChat Minecraft mod/plugin"
|
description = "API for interfacing with the CarbonChat Minecraft mod/plugin"
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ dependencies {
|
|||||||
|
|
||||||
implementation(libs.pluginYml)
|
implementation(libs.pluginYml)
|
||||||
// Implementation dependencies of plugin-yml
|
// Implementation dependencies of plugin-yml
|
||||||
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.3")
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.16.1")
|
||||||
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.3")
|
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.16.1")
|
||||||
|
|
||||||
// https://github.com/gradle/gradle/issues/15383#issuecomment-779893192
|
// https://github.com/gradle/gradle/issues/15383#issuecomment-779893192
|
||||||
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
sponge-gradle = { id = "org.spongepowered.gradle.plugin", version = "2.2.0" }
|
sponge-gradle = { id = "org.spongepowered.gradle.plugin", version = "2.2.0" }
|
||||||
hangar-publish = { id = "io.papermc.hangar-publish-plugin", version = "0.1.2" }
|
hangar-publish = { id = "io.papermc.hangar-publish-plugin", version = "0.1.2" }
|
||||||
indra-publishing-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
|
indra-publishing-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
|
||||||
|
javadoc-links = { id = "org.incendo.cloud-build-logic.javadoc-links", version = "0.0.12" }
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
indra = "3.1.3"
|
indra = "3.1.3"
|
||||||
|
|||||||
+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.5-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
Vendored
+10
-10
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
|
|||||||
%JAVA_EXE% -version >NUL 2>&1
|
%JAVA_EXE% -version >NUL 2>&1
|
||||||
if %ERRORLEVEL% equ 0 goto execute
|
if %ERRORLEVEL% equ 0 goto execute
|
||||||
|
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation.
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|||||||
|
|
||||||
if exist "%JAVA_EXE%" goto execute
|
if exist "%JAVA_EXE%" goto execute
|
||||||
|
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||||
echo.
|
echo. 1>&2
|
||||||
echo Please set the JAVA_HOME variable in your environment to match the
|
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||||
echo location of your Java installation.
|
echo location of your Java installation. 1>&2
|
||||||
|
|
||||||
goto fail
|
goto fail
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user