build: Deprecation fixes for Gradle 9.7.0
This commit is contained in:
@@ -10,4 +10,12 @@ gradlePlugin {
|
||||
id = "de.siphalor.tweed5.minecraft.mod.component"
|
||||
implementationClass = "de.siphalor.tweed5.gradle.plugin.minecraft.mod.MinecraftModComponentPlugin"
|
||||
}
|
||||
plugins.register("moduleInfo") {
|
||||
id = "de.siphalor.tweed5.module-info"
|
||||
implementationClass = "de.siphalor.tweed5.gradle.plugin.module_info.ModuleInfoPlugin"
|
||||
}
|
||||
plugins.register("rootProperties") {
|
||||
id = "de.siphalor.tweed5.root-properties"
|
||||
implementationClass = "de.siphalor.tweed5.gradle.plugin.root_properties.RootPropertiesPlugin"
|
||||
}
|
||||
}
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package de.siphalor.tweed5.gradle.plugin.module_info
|
||||
|
||||
import org.gradle.api.provider.Property
|
||||
|
||||
abstract class ModuleInfoExtension {
|
||||
abstract val name: Property<String>
|
||||
abstract val description: Property<String>
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package de.siphalor.tweed5.gradle.plugin.module_info
|
||||
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
|
||||
class ModuleInfoPlugin : Plugin<Project> {
|
||||
override fun apply(target: Project) {
|
||||
target.extensions.create("moduleInfo", ModuleInfoExtension::class.java)
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package de.siphalor.tweed5.gradle.plugin
|
||||
|
||||
import org.gradle.api.provider.MapProperty
|
||||
import org.gradle.api.provider.Provider
|
||||
|
||||
abstract class RootPropertiesExtension {
|
||||
abstract val properties: MapProperty<String, String>
|
||||
|
||||
operator fun get(key: String): Provider<String> = properties.getting(key)
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
package de.siphalor.tweed5.gradle.plugin.root_properties
|
||||
|
||||
import de.siphalor.tweed5.gradle.plugin.RootPropertiesExtension
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.provider.ProviderFactory
|
||||
import org.gradle.kotlin.dsl.apply
|
||||
import java.util.Properties
|
||||
import javax.inject.Inject
|
||||
|
||||
abstract class RootPropertiesPlugin : Plugin<Project> {
|
||||
@get:Inject
|
||||
abstract val providers: ProviderFactory
|
||||
|
||||
override fun apply(project: Project) {
|
||||
val rootPropertiesFile = if (project.layout.settingsDirectory.file(".gitmodules").asFile.exists()) {
|
||||
project.layout.settingsDirectory.file("gradle.properties")
|
||||
} else {
|
||||
project.layout.settingsDirectory.file("../gradle.properties")
|
||||
}
|
||||
|
||||
val rootProperties = providers.fileContents(rootPropertiesFile).asBytes.map { propsBytes ->
|
||||
Properties().apply {
|
||||
load(propsBytes.inputStream())
|
||||
}.map { it.key.toString() to it.value.toString() }.toMap()
|
||||
}
|
||||
|
||||
project.extensions.create("rootProperties", RootPropertiesExtension::class.java).apply {
|
||||
properties.value(rootProperties)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@ val expandedSourcesElements = configurations.consumable("expandedSourcesElements
|
||||
|
||||
val delombok = tasks.getByName<Delombok>("delombok")
|
||||
|
||||
val sourcesJar by tasks.registering(Jar::class) {
|
||||
val sourcesJar = tasks.register<Jar>("sourcesJar") {
|
||||
group = LifecycleBasePlugin.BUILD_GROUP
|
||||
|
||||
dependsOn(delombok)
|
||||
|
||||
@@ -2,6 +2,8 @@ plugins {
|
||||
id("com.gradleup.shadow")
|
||||
java
|
||||
`java-library`
|
||||
id("de.siphalor.tweed5.root-properties")
|
||||
id("de.siphalor.tweed5.module-info")
|
||||
id("de.siphalor.tweed5.shadow.explicit")
|
||||
id("de.siphalor.tweed5.minecraft.mod.component")
|
||||
}
|
||||
@@ -24,9 +26,9 @@ fun formatJarsForJson(jars: FileCollection): String {
|
||||
tasks.register<Sync>("processMinecraftModResources") {
|
||||
inputs.property("id", project.name)
|
||||
inputs.property("version", project.version)
|
||||
inputs.property("name", properties["module.name"])
|
||||
inputs.property("description", properties["module.description"])
|
||||
inputs.property("repoUrl", properties["git.url"])
|
||||
inputs.property("name", moduleInfo.name)
|
||||
inputs.property("description", moduleInfo.description)
|
||||
inputs.property("repoUrl", rootProperties["git.url"])
|
||||
inputs.files(minecraftJijElements)
|
||||
|
||||
val jars = objects.fileCollection().apply { from(minecraftJijElements) }
|
||||
@@ -36,9 +38,9 @@ tasks.register<Sync>("processMinecraftModResources") {
|
||||
mapOf(
|
||||
"id" to project.name.replace('-', '_'),
|
||||
"version" to project.version,
|
||||
"name" to properties["module.name"],
|
||||
"description" to properties["module.description"],
|
||||
"repoUrl" to properties["git.url"],
|
||||
"name" to moduleInfo.name,
|
||||
"description" to moduleInfo.description,
|
||||
"repoUrl" to rootProperties["git.url"].get(),
|
||||
"jars" to formatJarsForJson(jars)
|
||||
)
|
||||
)
|
||||
@@ -52,9 +54,9 @@ tasks.register<Sync>("processMinecraftModResources") {
|
||||
tasks.register<Sync>("processMinecraftTestmodResources") {
|
||||
inputs.property("id", project.name)
|
||||
inputs.property("version", project.version)
|
||||
inputs.property("name", properties["module.name"])
|
||||
inputs.property("description", properties["module.description"])
|
||||
inputs.property("repoUrl", properties["git.url"])
|
||||
inputs.property("name", moduleInfo.name)
|
||||
inputs.property("description", moduleInfo.description)
|
||||
inputs.property("repoUrl", rootProperties["git.url"])
|
||||
inputs.files(minecraftJijElements)
|
||||
|
||||
val jars = objects.fileCollection().apply { from(minecraftJijElements) }
|
||||
@@ -64,9 +66,9 @@ tasks.register<Sync>("processMinecraftTestmodResources") {
|
||||
mapOf(
|
||||
"id" to "${project.name.replace('-', '_')}_testmod",
|
||||
"version" to project.version,
|
||||
"name" to "${properties["module.name"]} (test mod)",
|
||||
"description" to properties["module.description"],
|
||||
"repoUrl" to properties["git.url"],
|
||||
"name" to "${moduleInfo.name.get()} (test mod)",
|
||||
"description" to moduleInfo.description,
|
||||
"repoUrl" to rootProperties["git.url"].get(),
|
||||
"jars" to formatJarsForJson(jars)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -2,8 +2,8 @@ import org.gradle.api.publish.internal.PublicationInternal
|
||||
|
||||
plugins {
|
||||
`maven-publish`
|
||||
id("de.siphalor.tweed5.publishing")
|
||||
id("de.siphalor.tweed5.minecraft.mod.base")
|
||||
id("de.siphalor.tweed5.publishing")
|
||||
}
|
||||
|
||||
val minecraftModJar = tasks.register<Jar>("minecraftModJar") {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
id("de.siphalor.tweed5.root-properties")
|
||||
id("de.siphalor.tweed5.module-info")
|
||||
}
|
||||
|
||||
group = rootProject.group
|
||||
@@ -23,11 +25,11 @@ publishing {
|
||||
publications.all {
|
||||
if (this is MavenPublication) {
|
||||
pom {
|
||||
name = project.property("module.name") as String
|
||||
description = project.property("module.description") as String
|
||||
url = project.property("git.url") as String
|
||||
name = moduleInfo.name
|
||||
description = moduleInfo.description
|
||||
url = rootProperties["git.url"]
|
||||
scm {
|
||||
url = project.property("git.url") as String
|
||||
url = rootProperties["git.url"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import java.util.Properties
|
||||
|
||||
val rootPropertiesFile = project.layout.settingsDirectory.file("../gradle.properties").asFile
|
||||
if (rootPropertiesFile.exists()) {
|
||||
Properties()
|
||||
.apply { rootPropertiesFile.inputStream().use { load(it) } }
|
||||
.forEach { (key, value) -> project.ext.set(key.toString(), value.toString()) }
|
||||
}
|
||||
@@ -4,4 +4,4 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.siphalor.tweed5.minecraft"
|
||||
version = project.property("tweed5.version").toString()
|
||||
version = rootProperties["tweed5.version"].get()
|
||||
|
||||
+9
-8
@@ -3,13 +3,12 @@ import de.siphalor.tweed5.gradle.plugin.minecraft.mod.MinecraftModded
|
||||
import net.fabricmc.loom.api.LoomGradleExtensionAPI
|
||||
import net.fabricmc.loom.task.RemapJarTask
|
||||
import net.fabricmc.loom.util.Constants
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.StandardCopyOption
|
||||
import java.util.Properties
|
||||
|
||||
plugins {
|
||||
java
|
||||
id("de.siphalor.minecraft-modding-toolkit.project-plugin")
|
||||
id("de.siphalor.tweed5.root-properties")
|
||||
id("de.siphalor.tweed5.unit-tests")
|
||||
id("de.siphalor.tweed5.publishing")
|
||||
id("de.siphalor.tweed5.expanded-sources-jar")
|
||||
@@ -40,11 +39,11 @@ val archivesBaseName = "${project.name}-mc$minecraftVersionDescriptor"
|
||||
base {
|
||||
archivesName.set(archivesBaseName)
|
||||
}
|
||||
val shortVersion = project.property("tweed5.version").toString()
|
||||
val shortVersion = rootProperties["tweed5.version"].get()
|
||||
val minecraftVersion = getMcCatalogVersion("minecraft")
|
||||
version = "$shortVersion+mc$minecraftVersion"
|
||||
|
||||
val testmod by sourceSets.creating {
|
||||
val testmod = sourceSets.create("testmod") {
|
||||
compileClasspath += sourceSets.main.get().compileClasspath
|
||||
runtimeClasspath += sourceSets.main.get().runtimeClasspath
|
||||
}
|
||||
@@ -56,10 +55,12 @@ smcmtk {
|
||||
|
||||
extensions.configure<LoomGradleExtensionAPI>() {
|
||||
runs {
|
||||
create("testmodClient") {
|
||||
client()
|
||||
name("${properties["module.name"]} Test Mod (client)")
|
||||
source(testmod)
|
||||
afterEvaluate {
|
||||
register("testmodClient") {
|
||||
client()
|
||||
name("${moduleInfo.name.get()} Test Mod (client)")
|
||||
source(testmod)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.bundle")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Bundle for POJO weaving"
|
||||
description = "Bundle of pre-packaged Tweed modules for creating configs from POJOs."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraftJij("de.siphalor.tweed5:tweed5-annotation-inheritance:${project.version}")
|
||||
minecraftJij("de.siphalor.tweed5:tweed5-naming-format:${project.version}")
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Bundle for POJO weaving
|
||||
module.description = Bundle of pre-packaged Tweed modules for creating configs from POJOs.
|
||||
@@ -2,6 +2,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.bundle")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Bundle"
|
||||
description = "Bundle of pre-packaged Tweed modules that are usually required for your Minecraft mod config needs."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraftJij("de.siphalor.tweed5:tweed5-attributes-extension:${project.version}")
|
||||
minecraftJij("de.siphalor.tweed5:tweed5-construct:${project.version}")
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Tweed 5 Bundle
|
||||
module.description = Bundle of pre-packaged Tweed modules \
|
||||
that are usually required for your Minecraft mod config needs.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.cross-version")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Coat Bridge"
|
||||
description = "Provides a system that allows to generate a Coat config screen for a Tweed config."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("de.siphalor.tweed5:tweed5-core")
|
||||
compileOnly("de.siphalor.tweed5:tweed5-attributes-extension")
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Coat Bridge
|
||||
module.description = Provides a system that allows to generate a Coat config screen for a Tweed config.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.cross-version")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Fabric Helper"
|
||||
description = "A collection of utility classes to make working with Tweed 5 configurations easier on Fabric."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
modCompileOnly(fabricApi.module("fabric-networking-api-v1", mcLibs.versions.fabric.api.get()))
|
||||
compileOnly("de.siphalor.tweed5:tweed5-comment-loader-extension")
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Fabric Helper
|
||||
module.description = A collection of utility classes to make working with Tweed 5 configurations easier on Fabric.
|
||||
@@ -1,4 +1,4 @@
|
||||
org.gradle.jvmargs = -Xmx2G
|
||||
org.gradle.configuration-cache = true
|
||||
|
||||
minecraft.version.descriptor = 26.2.0
|
||||
minecraft.version.descriptor = 1.16.5
|
||||
|
||||
@@ -2,6 +2,12 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Logging"
|
||||
description = """Fork and relocation of Apache Commons Logging.
|
||||
Contains a small fix to support older Log4j versions. Also removes some obsolete classes."""
|
||||
}
|
||||
|
||||
val vendoredCommonsLogging = project.layout.settingsDirectory.file("vendor/commons-logging").asFile
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
module.name = Tweed 5 Logging
|
||||
module.description = Fork and relocation of Apache Commons Logging.\n\
|
||||
Contains a small fix to support older Log4j versions. \
|
||||
Also removes some obsolete classes.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.cross-version")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Netwoking"
|
||||
description = "Minecraft networking support for Tweed 5"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
modCompileOnly(fabricApi.module("fabric-networking-api-v1", mcLibs.versions.fabric.api.get()))
|
||||
compileOnly("de.siphalor.tweed5:tweed5-core")
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Netwoking
|
||||
module.description = Minecraft networking support for Tweed 5
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Annotation Inheritance"
|
||||
description = "Provides a mechanism to create meta-annotations. This allows bundling annotations that are commonly used together into a single convenience annotation."
|
||||
}
|
||||
|
||||
configurations.minecraftModApiElements {
|
||||
exclude("org.ow2.asm", "asm")
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Tweed 5 Annotation Inheritance
|
||||
module.description = Provides a mechanism to create meta-annotations. \
|
||||
This allows bundling annotations that are commonly used together into a single convenience annotation.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Attributes Extension"
|
||||
description = "A Tweed extension that allows defining generic attributes on config entries."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-core"))
|
||||
compileOnly(project(":tweed5-serde-extension"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Attributes Extension
|
||||
module.description = A Tweed extension that allows defining generic attributes on config entries.
|
||||
@@ -6,7 +6,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.siphalor.tweed5"
|
||||
version = project.property("tweed5.version").toString()
|
||||
version = rootProperties["tweed5.version"].get()
|
||||
|
||||
configurations.aggregateTestReportResults {
|
||||
attributes {
|
||||
@@ -32,10 +32,10 @@ dependencies {
|
||||
|
||||
reporting {
|
||||
reports {
|
||||
val aggregatedTestReport by creating(AggregateTestReport::class) {
|
||||
create<AggregateTestReport>("aggregatedTestReport") {
|
||||
testSuiteName = "test"
|
||||
}
|
||||
val aggregatedCoverageReport by creating(JacocoCoverageReport::class) {
|
||||
create<JacocoCoverageReport>("aggregatedCoverageReport") {
|
||||
testSuiteName = "test"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Comment Loader Extension"
|
||||
description = "Tweed 5 module that allows dynamically loading comments from data files, e.g., for i18n"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-core"))
|
||||
implementation(project(":tweed5-default-extensions"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Comment Loader Extension
|
||||
module.description = Tweed 5 module that allows dynamically loading comments from data files, e.g., for i18n
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Construct"
|
||||
description = "Provides a generic factory system for creating instances of subclasses with predefined constructor arguments. This solves Java's lack of constructor inheritance by enabling flexible object instantiation patterns."
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Tweed 5 Construct
|
||||
module.description = Provides a generic factory system for creating instances of subclasses with predefined constructor arguments. \
|
||||
This solves Java's lack of constructor inheritance by enabling flexible object instantiation patterns.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Core"
|
||||
description = "Provides core APIs and functionality for Tweed 5, like entries, containers and extensions."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-construct"))
|
||||
api(project(":tweed5-patchwork"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Core
|
||||
module.description = Provides core APIs and functionality for Tweed 5, like entries, containers and extensions.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Default Extensions"
|
||||
description = "A collection of commonly used Tweed 5 extensions bundled for convenience."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-core"))
|
||||
api(project(":tweed5-serde-extension"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Default Extensions
|
||||
module.description = A collection of commonly used Tweed 5 extensions bundled for convenience.
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Naming Format"
|
||||
description = "Utilities and conventions for parsing and converting between different naming formats. Examples include camelCase, snake_case, kebab-case, and more."
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Tweed 5 Naming Format
|
||||
module.description = Utilities and conventions for parsing and converting between different naming formats. \
|
||||
Examples include camelCase, snake_case, kebab-case, and more.
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Patchwork"
|
||||
description = "Provides extendable data structures that provide strong encapsulation and type safe access."
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Patchwork
|
||||
module.description = Provides extendable data structures that provide strong encapsulation and type safe access.
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Serde API"
|
||||
description = "An abstract reader and writer system as a base layer for supporting different serialization formats."
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Serde API
|
||||
module.description = An abstract reader and writer system as a base layer for supporting different serialization formats.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Serde Extension"
|
||||
description = "A Tweed extension that provides support for reading and writing entries using Tweed's serde API."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-core"))
|
||||
api(project(":tweed5-patchwork"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Serde Extension
|
||||
module.description = A Tweed extension that provides support for reading and writing entries using Tweed's serde API.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Gson"
|
||||
description = "Tweed 5 module that adds support for reading and writing JSON using the Gson library."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-serde-api"))
|
||||
api(libs.gson)
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Gson
|
||||
module.description = Tweed 5 module that adds support for reading and writing JSON using the Gson library.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Hjson"
|
||||
description = "Tweed 5 module that adds support for reading and writing Hjson files."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-serde-api"))
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Hjson
|
||||
module.description = Tweed 5 module that adds support for reading and writing Hjson files.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Jackson"
|
||||
description = "Tweed 5 module that adds support for reading and writing JSON files using the Jackson library."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-serde-api"))
|
||||
implementation(libs.jackson.core)
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Jackson
|
||||
module.description = Tweed 5 module that adds support for reading and writing JSON files using the Jackson library.
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Type Utils"
|
||||
description = "Various utilities to ease processing Java types with reflection."
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Type Utils
|
||||
module.description = Various utilities to ease processing Java types with reflection.
|
||||
@@ -2,3 +2,8 @@ plugins {
|
||||
id("de.siphalor.tweed5.base-module")
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Utils"
|
||||
description = "Generic utility classes for Tweed 5."
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Tweed 5 Utils
|
||||
module.description = Generic utility classes for Tweed 5.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Attributes Extension for Tweed5 Weaver POJO"
|
||||
description = "Adds support for declaring generic attributes using annotations to the Tweed5 Weaver POJO."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-weaver-pojo"))
|
||||
api(project(":tweed5-attributes-extension"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Attributes Extension for Tweed5 Weaver POJO
|
||||
module.description = Adds support for declaring generic attributes using annotations to the Tweed5 Weaver POJO.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Presets Extension for Tweed 5 Weaver POJO"
|
||||
description = "Allows declaring presets on POJOs using annotations."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-construct"))
|
||||
api(project(":tweed5-default-extensions"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Presets Extension for Tweed 5 Weaver POJO
|
||||
module.description = Allows declaring presets on POJOs using annotations.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Serde Extension for Tweed 5 Weaver POJO"
|
||||
description = "Adds support for declaring and deriving serializers and deserializers for Tweed 5's Serde API from annotations."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-weaver-pojo"))
|
||||
api(project(":tweed5-serde-extension"))
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Serde Extension for Tweed 5 Weaver POJO
|
||||
module.description = Adds support for declaring and deriving serializers and deserializers for Tweed 5's Serde API \
|
||||
from annotations.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Validation Extension for Tweed 5 Weaver POJO"
|
||||
description = "Allows declaring validation constraints on POJOs using annotations."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":tweed5-construct"))
|
||||
api(project(":tweed5-default-extensions"))
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
module.name = Validation Extension for Tweed 5 Weaver POJO
|
||||
module.description = Allows declaring validation constraints on POJOs using annotations.
|
||||
@@ -3,6 +3,11 @@ plugins {
|
||||
id("de.siphalor.tweed5.minecraft.mod.dummy")
|
||||
}
|
||||
|
||||
moduleInfo {
|
||||
name = "Tweed 5 Weaver POJO"
|
||||
description = "Provides a mechanism to derive a Tweed 5 entry structure from a POJO using its structure and annotations."
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":tweed5-construct"))
|
||||
api(project(":tweed5-annotation-inheritance"))
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module.name = Tweed 5 Weaver POJO
|
||||
module.description = Provides a mechanism to derive a Tweed 5 entry structure \
|
||||
from a POJO using its structure and annotations.
|
||||
Reference in New Issue
Block a user