mirror of
https://github.com/jpenilla/MiniMOTD.git
synced 2026-11-06 17:42:32 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc0a82dbd1 | ||
|
|
53e5310f20 | ||
|
|
3b826d9bd8 | ||
|
|
08e61cae76 | ||
|
|
f4b611470d |
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
group=xyz.jpenilla
|
||||
version=2.2.3
|
||||
version=2.2.4
|
||||
description=Use MiniMessage text formatting in the server list MOTD.
|
||||
|
||||
org.gradle.caching=true
|
||||
|
||||
@@ -51,6 +51,7 @@ val paperVersions = listOf(
|
||||
"26.1",
|
||||
"26.1.1",
|
||||
"26.1.2",
|
||||
"26.2",
|
||||
)
|
||||
|
||||
val productionJarAttribute = Attribute.of("minimotd.productionJar", String::class.java)
|
||||
@@ -12,7 +12,7 @@ version = (version as String)
|
||||
indra {
|
||||
javaVersions {
|
||||
target(17)
|
||||
minimumToolchain(21)
|
||||
minimumToolchain(25)
|
||||
testWith(17, 21, 25)
|
||||
}
|
||||
github(Constants.GITHUB_USER, Constants.GITHUB_REPO)
|
||||
|
||||
+10
-10
@@ -1,13 +1,13 @@
|
||||
[versions]
|
||||
run-task = "3.0.2"
|
||||
resource-factory = "1.3.1"
|
||||
mod-publish-plugin = "1.1.0"
|
||||
mod-publish-plugin = "2.1.1"
|
||||
hangarPublishPlugin = "0.1.4"
|
||||
indra = "4.0.0"
|
||||
shadow = "9.4.1"
|
||||
shadow = "9.4.3"
|
||||
adventure = "4.26.1"
|
||||
adventurePlatform = "4.4.1"
|
||||
adventurePlatformMod = "6.9.0"
|
||||
adventurePlatformMod = "7.1.0"
|
||||
configurate = "4.2.0"
|
||||
slf4j = "1.7.36"
|
||||
gson = "2.8.0"
|
||||
@@ -16,12 +16,12 @@ paperApiLegacy = "1.16.5-R0.1-SNAPSHOT"
|
||||
paperApi = "1.21.11-R0.1-SNAPSHOT"
|
||||
paperlib = "1.0.8"
|
||||
waterfallApi = "1.16-R0.5-SNAPSHOT"
|
||||
fabricApi = "0.145.4+26.1.2"
|
||||
fabricLoader = "0.19.1"
|
||||
minecraft = "26.1.2"
|
||||
spongeApi7 = "7.2.0"
|
||||
fabricApi = "0.153.0+26.2"
|
||||
fabricLoader = "0.19.3"
|
||||
minecraft = "26.2"
|
||||
spongeApi7 = "7.4.0"
|
||||
velocityApi = "3.4.0"
|
||||
neoforge = "26.1.2.7-beta"
|
||||
neoforge = "26.2.0.7-beta"
|
||||
|
||||
[plugins]
|
||||
blossom = { id = "net.kyori.blossom", version = "2.2.0" }
|
||||
@@ -44,7 +44,7 @@ adventurePlatformFabric = { group = "net.kyori", name = "adventure-platform-fabr
|
||||
adventurePlatformNeoforge = { group = "net.kyori", name = "adventure-platform-neoforge", version.ref = "adventurePlatformMod" }
|
||||
adventurePlatformSpongeApi = { group = "net.kyori", name = "adventure-platform-spongeapi", version.ref = "adventurePlatform" }
|
||||
minimessage = { group = "net.kyori", name = "adventure-text-minimessage" }
|
||||
miniplaceholders = "io.github.miniplaceholders:miniplaceholders-api:3.1.0"
|
||||
miniplaceholders = "io.github.miniplaceholders:miniplaceholders-api:3.2.0"
|
||||
|
||||
brigadier = "com.mojang:brigadier:1.3.10"
|
||||
|
||||
@@ -79,7 +79,7 @@ spongeApi7 = { group = "org.spongepowered", name = "spongeapi", version.ref = "s
|
||||
|
||||
velocityApi = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocityApi" }
|
||||
|
||||
junitJupiter = "org.junit.jupiter:junit-jupiter:6.0.3"
|
||||
junitJupiter = "org.junit.jupiter:junit-jupiter:6.1.0"
|
||||
|
||||
# build-logic
|
||||
indraCommon = { group = "net.kyori", name = "indra-common", version.ref = "indra" }
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+3
-1
@@ -1,7 +1,9 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
|
||||
networkTimeout=10000
|
||||
retries=0
|
||||
retryBackOffMs=500
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
# gradlew start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
@@ -29,7 +29,7 @@
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
# ksh gradlew
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
@@ -57,7 +57,7 @@
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/2d6327017519d23b96af35865dc997fcb544fb40/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/3d91ce3b8caaf77ad09f381f43615b715b53f72c/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
||||
Vendored
+12
-23
@@ -19,12 +19,12 @@
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem gradlew startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
@rem Set local scope for the variables, and ensure extensions are enabled
|
||||
setlocal EnableExtensions
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@@ -51,7 +51,7 @@ echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
"%COMSPEC%" /c exit 1
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
@@ -65,29 +65,18 @@ echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
"%COMSPEC%" /c exit 1
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||
@rem Execute gradlew
|
||||
@rem endlocal doesn't take effect until after the line is parsed and variables are expanded
|
||||
@rem which allows us to clear the local environment before executing the java command
|
||||
endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
:exitWithErrorLevel
|
||||
@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts
|
||||
"%COMSPEC%" /c exit %ERRORLEVEL%
|
||||
@@ -1,3 +1,5 @@
|
||||
import me.modmuss50.mpp.platforms.modrinth.ModrinthEnvironment
|
||||
|
||||
plugins {
|
||||
id("xyz.jpenilla.quiet-fabric-loom")
|
||||
id("minimotd.platform-conventions")
|
||||
@@ -53,6 +55,7 @@ tasks {
|
||||
}
|
||||
|
||||
publishMods.modrinth {
|
||||
environment = ModrinthEnvironment.DEDICATED_SERVER_ONLY
|
||||
modLoaders.add("fabric")
|
||||
minecraftVersions.addAll(minecraftVersion)
|
||||
optional("miniplaceholders")
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
"minimotd-fabric.mixins.json"
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.18.6",
|
||||
"fabricloader": ">=0.19.3",
|
||||
"fabric-api": "*",
|
||||
"minecraft": ">=26.1.2",
|
||||
"minecraft": ">=26.2",
|
||||
"adventure-platform-fabric": "*"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import me.modmuss50.mpp.platforms.modrinth.ModrinthEnvironment
|
||||
|
||||
plugins {
|
||||
id("net.neoforged.moddev")
|
||||
id("minimotd.platform-conventions")
|
||||
@@ -59,6 +61,7 @@ miniMOTDPlatform {
|
||||
}
|
||||
|
||||
publishMods.modrinth {
|
||||
environment = ModrinthEnvironment.DEDICATED_SERVER_ONLY
|
||||
modLoaders.add("neoforge")
|
||||
minecraftVersions.addAll(minecraftVersion)
|
||||
optional("miniplaceholders")
|
||||
|
||||
@@ -23,7 +23,7 @@ side = "BOTH"
|
||||
[[dependencies.minimotd]]
|
||||
modId = "minecraft"
|
||||
type = "required"
|
||||
versionRange = "[26.1.2,)"
|
||||
versionRange = "[26.2,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@ publishMods.modrinth {
|
||||
"1.21.10",
|
||||
"1.21.11",
|
||||
"26.1.2",
|
||||
"26.2",
|
||||
)
|
||||
optional("miniplaceholders")
|
||||
}
|
||||
+1
-1
@@ -14,7 +14,7 @@ pluginManagement {
|
||||
|
||||
plugins {
|
||||
id("net.neoforged.moddev.repositories") version "2.0.141" apply false
|
||||
id("xyz.jpenilla.quiet-fabric-loom") version "1.15-SNAPSHOT" apply false
|
||||
id("xyz.jpenilla.quiet-fabric-loom") version "1.17-SNAPSHOT" apply false
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user