Update to new infrastructure
This commit is contained in:
parent
72ebde914e
commit
135003faf8
|
@ -1,2 +0,0 @@
|
||||||
include:
|
|
||||||
- remote: 'https://jfmods.gitlab.io/scripts/jfmod.yml'
|
|
|
@ -0,0 +1 @@
|
||||||
|
#link https://pages.frohnmeyer-wds.de/scripts/jfmod.yml
|
|
@ -1,12 +1,17 @@
|
||||||
apply from: "https://jfmods.gitlab.io/scripts/gradle/v2.gradle"
|
import io.gitlab.jfronny.scripts.*
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id("jfmod") version "1.2-SNAPSHOT"
|
||||||
|
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${project.libjf_version}")
|
modImplementation("io.gitlab.jfronny.libjf:libjf-config-core-v1:${prop("libjf_version")}")
|
||||||
modImplementation("io.gitlab.jfronny.libjf:libjf-unsafe-v0:${project.libjf_version}")
|
modImplementation("io.gitlab.jfronny.libjf:libjf-unsafe-v0:${prop("libjf_version")}")
|
||||||
|
|
||||||
// Dev env
|
// Dev env
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${project.libjf_version}")
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-reflect-v1:${prop("libjf_version")}")
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${project.libjf_version}")
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny-v1:${prop("libjf_version")}")
|
||||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${project.libjf_version}")
|
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil:${prop("libjf_version")}")
|
||||||
modLocalRuntime("com.terraformersmc:modmenu:4.0.6")
|
modLocalRuntime("com.terraformersmc:modmenu:4.1.1")
|
||||||
}
|
}
|
|
@ -1,17 +1,17 @@
|
||||||
# https://fabricmc.net/develop/
|
# https://fabricmc.net/develop/
|
||||||
minecraft_version=1.19.2
|
minecraft_version=1.19.2
|
||||||
yarn_mappings=build.8
|
yarn_mappings=build.24
|
||||||
loader_version=0.14.9
|
loader_version=0.14.11
|
||||||
# Mod Properties
|
|
||||||
maven_group=io.gitlab.jfronny
|
maven_group=io.gitlab.jfronny
|
||||||
archives_base_name=modsmod
|
archives_base_name=modsmod
|
||||||
|
|
||||||
libjf_version=3.0.3
|
|
||||||
fabric_version=0.60.0+1.19.2
|
|
||||||
|
|
||||||
modrinth_id=modsmod
|
modrinth_id=modsmod
|
||||||
modrinth_required_dependencies=libjf
|
modrinth_required_dependencies=libjf
|
||||||
modrinth_optional_dependencies=modmenu
|
modrinth_optional_dependencies=modmenu
|
||||||
curseforge_id=405095
|
curseforge_id=405095
|
||||||
curseforge_required_dependencies=libjf
|
curseforge_required_dependencies=libjf
|
||||||
curseforge_optional_dependencies=modmenu
|
curseforge_optional_dependencies=modmenu
|
||||||
|
|
||||||
|
libjf_version=3.2.1
|
||||||
|
fabric_version=0.68.0+1.19.2
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
pluginManagement {
|
||||||
|
val libjf_version: String by settings
|
||||||
|
repositories {
|
||||||
|
maven("https://maven.fabricmc.net/") // FabricMC
|
||||||
|
maven("https://maven.frohnmeyer-wds.de/artifacts") // scripts
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
plugins {
|
||||||
|
id("io.gitlab.jfronny.libjf.libjf-config-compiler-plugin") version libjf_version
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
rootProject.name = "modsmod"
|
|
@ -91,7 +91,8 @@ public class ModsMod implements UltraEarlyInit {
|
||||||
meta.url.toString(),
|
meta.url.toString(),
|
||||||
new ArrayList<>(),
|
new ArrayList<>(),
|
||||||
new VersionOverrides(),
|
new VersionOverrides(),
|
||||||
new DependencyOverrides(FabricLoader.getInstance().getConfigDir()));
|
new DependencyOverrides(FabricLoader.getInstance().getConfigDir()),
|
||||||
|
false);
|
||||||
FabricLoaderInterface.addMod(LOADER, FabricLoaderInterface.createPlain(meta.rootPath, info, false, new HashSet<>()));
|
FabricLoaderInterface.addMod(LOADER, FabricLoaderInterface.createPlain(meta.rootPath, info, false, new HashSet<>()));
|
||||||
} catch (IOException | ParseMetadataException e) {
|
} catch (IOException | ParseMetadataException e) {
|
||||||
throw new IllegalStateException(e);
|
throw new IllegalStateException(e);
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "modsmod",
|
"id": "modsmod",
|
||||||
"version": "${version}",
|
|
||||||
"name": "ModsMod",
|
"name": "ModsMod",
|
||||||
|
"version": "${version}",
|
||||||
"description": "Dynamically creates and loads empty mods",
|
"description": "Dynamically creates and loads empty mods",
|
||||||
"authors": [
|
"authors": ["JFronny"],
|
||||||
"JFronny"
|
|
||||||
],
|
|
||||||
"contact": {
|
"contact": {
|
||||||
"website": "https://jfronny.gitlab.io",
|
"email": "projects.contact@frohnmeyer-wds.de",
|
||||||
"repo": "https://www.gitlab.com/jfmods/ModsMod"
|
"homepage": "https://jfronny.gitlab.io",
|
||||||
|
"issues": "https://git.frohnmeyer-wds.de/JfMods/LibJF/issues",
|
||||||
|
"sources": "https://git.frohnmeyer-wds.de/JfMods/LibJF"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"icon": "assets/modsmod/icon.png",
|
"icon": "assets/modsmod/icon.png",
|
||||||
|
|
Loading…
Reference in New Issue