Compare commits

...
13 Commits
Author SHA1 Message Date
Jason Penilla 8c70ec3ea7 release: Version 2.2.2 2025-12-14 10:35:43 -07:00
Jason Penilla 7f43d73230 Bump minimum common Java requirement to 17
This is now the third-oldest LTS version, supporting anything older is not worth the build headache and outdated dependencies anymore.
2025-12-14 10:27:43 -07:00
Jason Penilla 1d4840e55f Bump minimum common Java requirement to 11 2025-12-14 10:23:05 -07:00
Jason Penilla 3bbb2dd18b Update for 1.21.11 2025-12-14 10:07:38 -07:00
Jason Penilla ff5d418387 Move disableAutoTargetJvm 2025-12-14 09:54:35 -07:00
renovate[bot] 17af4ab03a chore(deps): Update dependency io.github.miniplaceholders:miniplaceholders-api to v3.1.0 2025-12-14 09:50:08 -07:00
renovate[bot] a6d029d56b chore(deps): Update dependency io.papermc:hangar-publish-plugin to v0.1.4 2025-12-14 09:49:47 -07:00
Jason Penilla 1edfa4b53a Update junit 2025-12-14 09:48:56 -07:00
Jason Penilla 3f3cd43ab1 Update indra to v4 2025-12-14 09:46:15 -07:00
renovate[bot] 9728220a65 chore(deps): Update dependency net.fabricmc:fabric-loader to v0.18.2 2025-12-14 09:39:29 -07:00
renovate[bot] 0e23a15f3d chore(deps): Update gradle and github actions 2025-12-14 09:39:17 -07:00
renovate[bot] 43cbc6aaf4 chore(deps): Update gradle and github actions 2025-10-11 12:00:26 -07:00
Jason Penilla 811be6e946 2.2.2-SNAPSHOT 2025-10-09 10:50:50 -07:00
14 changed files with 41 additions and 38 deletions

No files matched your search

-4
View File
@@ -9,10 +9,6 @@ tasks.jar {
}
}
java {
disableAutoTargetJvm()
}
dependencies {
api(libs.configurateHocon)
api(platform(libs.adventureBom))
+1 -1
View File
@@ -1,5 +1,5 @@
group=xyz.jpenilla
version=2.2.1
version=2.2.2
description=Use MiniMessage text formatting in the server list MOTD.
org.gradle.caching=true
@@ -6,7 +6,7 @@ import org.gradle.api.provider.Provider
import org.gradle.kotlin.dsl.getByType
fun Project.lastCommitHash(): String =
extensions.getByType<IndraGitExtension>().commit()?.name?.substring(0, 7) ?: "unknown"
extensions.getByType<IndraGitExtension>().commit().orNull?.name?.substring(0, 7) ?: "unknown"
val Project.libs: LibrariesForLibs
get() = extensions.getByType()
@@ -47,6 +47,7 @@ val paperVersions = listOf(
"1.21.8",
"1.21.9",
"1.21.10",
"1.21.11",
)
val productionJarAttribute = Attribute.of("minimotd.productionJar", String::class.java)
@@ -11,13 +11,16 @@ version = (version as String)
indra {
javaVersions {
target(17)
minimumToolchain(21)
target(8)
testWith(17, 21, 25)
}
github(Constants.GITHUB_USER, Constants.GITHUB_REPO)
mitLicense()
}
java.disableAutoTargetJvm()
repositories {
mavenCentral {
mavenContent { releasesOnly() }
@@ -36,11 +39,8 @@ repositories {
}
dependencies {
testImplementation(libs.jupiterEngine)
// TODO: work around archloom issue?
if (project.name != "minimotd-neoforge" && project.name != "minimotd-fabric") {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
testImplementation(libs.junitJupiter)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks {
+12 -13
View File
@@ -1,31 +1,30 @@
[versions]
run-task = "3.0.1"
run-task = "3.0.2"
resource-factory = "1.3.1"
mod-publish-plugin = "1.0.0"
hangarPublishPlugin = "0.1.3"
indra = "3.2.0"
hangarPublishPlugin = "0.1.4"
indra = "4.0.0"
shadow = "9.2.2"
adventure = "4.25.0"
adventurePlatform = "4.4.1"
adventurePlatformMod = "6.7.0"
adventurePlatformMod = "6.8.0"
configurate = "4.2.0"
slf4j = "1.7.36"
gson = "2.8.0"
bstats = "3.1.0"
paperApiLegacy = "1.16.5-R0.1-SNAPSHOT"
paperApi = "1.21.10-R0.1-SNAPSHOT"
paperApi = "1.21.11-R0.1-SNAPSHOT"
paperlib = "1.0.8"
waterfallApi = "1.16-R0.5-SNAPSHOT"
fabricApi = "0.134.1+1.21.10"
fabricLoader = "0.17.2"
minecraft = "1.21.10"
fabricApi = "0.139.5+1.21.11"
fabricLoader = "0.18.2"
minecraft = "1.21.11"
spongeApi7 = "7.2.0"
velocityApi = "3.4.0-SNAPSHOT"
jupiterEngine = "5.14.0"
neoforge = "21.10.1-beta"
neoforge = "21.11.6-beta"
[plugins]
blossom = { id = "net.kyori.blossom", version = "2.1.0" }
blossom = { id = "net.kyori.blossom", version = "2.2.0" }
sponge-gradle-plugin = { id = "org.spongepowered.gradle.plugin", version = "2.3.0" }
run-paper = { id = "xyz.jpenilla.run-paper", version.ref = "run-task" }
run-velocity = { id = "xyz.jpenilla.run-velocity" }
@@ -45,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.0.1"
miniplaceholders = "io.github.miniplaceholders:miniplaceholders-api:3.1.0"
brigadier = "com.mojang:brigadier:1.3.10"
@@ -80,7 +79,7 @@ spongeApi7 = { group = "org.spongepowered", name = "spongeapi", version.ref = "s
velocityApi = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocityApi" }
jupiterEngine = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "jupiterEngine" }
junitJupiter = "org.junit.jupiter:junit-jupiter:6.0.1"
# build-logic
indraCommon = { group = "net.kyori", name = "indra-common", version.ref = "indra" }
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
@@ -108,7 +108,7 @@ public final class MiniMOTDFabric implements ModInitializer, MiniMOTDPlatform<Se
BrigadierUtil.buildTree(
new CommandHandler(this.miniMOTD),
sourceStack -> this.audiences().audience(sourceStack),
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
Commands.hasPermission(Commands.LEVEL_ADMINS)
)
));
}
@@ -23,9 +23,9 @@
"minimotd-fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.16.14",
"fabricloader": ">=0.18.2",
"fabric-api": "*",
"minecraft": "1.21.10",
"minecraft": ">=1.21.11",
"adventure-platform-fabric": "*"
}
}
@@ -92,7 +92,7 @@ public final class MiniMOTDNeoForge implements MiniMOTDPlatform<ServerStatus.Fav
BrigadierUtil.buildTree(
new CommandHandler(this.miniMOTD),
sourceStack -> this.audiences().audience(sourceStack),
sourceStack -> sourceStack.hasPermission(Commands.LEVEL_ADMINS)
Commands.hasPermission(Commands.LEVEL_ADMINS)
)
);
});
@@ -23,7 +23,7 @@ side = "BOTH"
[[dependencies.minimotd]]
modId = "minecraft"
type = "required"
versionRange = "[1.21.10,1.22)"
versionRange = "[1.21.11,)"
ordering = "NONE"
side = "BOTH"
+6 -1
View File
@@ -55,11 +55,16 @@ publishMods.modrinth {
modLoaders.add("sponge")
minecraftVersions.addAll(
"1.16.5",
"1.17.1",
"1.18.2",
"1.19.4",
"1.20.6",
"1.21.1",
"1.21.3",
"1.21.4",
"1.21.5",
"1.21.8",
"1.21.10",
"1.21.11",
)
optional("miniplaceholders")
}
+5 -1
View File
@@ -10,7 +10,11 @@ dependencies {
compileOnly(libs.velocityApi)
}
java.disableAutoTargetJvm()
indra {
javaVersions {
target(21)
}
}
tasks {
shadowJar {
+3 -5
View File
@@ -7,16 +7,14 @@ pluginManagement {
maven("https://maven.neoforged.net/releases/") {
mavenContent { releasesOnly() }
}
maven("https://repo.jpenilla.xyz/snapshots/") {
mavenContent { snapshotsOnly() }
}
maven("https://repo.jpenilla.xyz/snapshots/")
}
includeBuild("gradle/build-logic")
}
plugins {
id("net.neoforged.moddev.repositories") version "2.0.113" apply false
id("quiet-fabric-loom") version "1.11-SNAPSHOT" apply false
id("net.neoforged.moddev.repositories") version "2.0.124" apply false
id("quiet-fabric-loom") version "1.13-SNAPSHOT" apply false
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}