Skip to content

Commit 6f63e9d

Browse files
Version Bump
1 parent 2c8bd7a commit 6f63e9d

4 files changed

Lines changed: 56 additions & 45 deletions

File tree

build.gradle

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
import com.mmodding.gradle.api.EnvironmentTarget
2+
13
plugins {
24
id 'fabric-loom' version '1.6-SNAPSHOT'
5+
id 'com.mmodding.gradle' version '0.0.8'
36
id 'maven-publish'
47
}
58

@@ -37,6 +40,39 @@ loom {
3740
accessWidenerPath = file("src/main/resources/env_json.accesswidener")
3841
}
3942

43+
mmodding {
44+
configureFabricModJson {
45+
namespace = "env_json"
46+
name = "env.json"
47+
description = "env.json is a Minecraft Library introducing a new sub json file extension format, with the goal of redirecting minecraft resources to other ones based on the environment context."
48+
addAuthor("MModding Team")
49+
addContributor("FirstMegaGame4")
50+
withContact {
51+
it.homepage = "https://modrinth.com/mod/env.json"
52+
it.sources = "https://github.com/MModding/env.json"
53+
it.issues = "https://github.com/MModding/env.json/issues"
54+
}
55+
license = "Code: PolyForm-Shield-1.0.0\\nAssets: All Rights Reserved"
56+
icon = "assets/env_json/icon.png"
57+
environment = EnvironmentTarget.ANY
58+
withEntrypoints {
59+
it.init("com.mmodding.env.json.impl.EnvJsonInitializer")
60+
}
61+
accessWidener = "env_json.accesswidener"
62+
addMixin("env_json.mixins.json")
63+
withDependencies {
64+
it.fabricLoaderVersion = ">=" + project.loader_version
65+
it.minecraftVersion = ">=1.20.5 <=" + project.minecraft_version
66+
it.javaVersion = ">=" + 21
67+
it.fabricApiVersion = "*"
68+
}
69+
withSuggestions {
70+
it.addDependency("env_driven_assets", "*")
71+
it.addDependency("env_driven_data", "*")
72+
}
73+
}
74+
}
75+
4076
processResources {
4177
inputs.property "version", project.version
4278

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ org.gradle.parallel=true
44

55
# Fabric Properties
66
# check these on https://fabricmc.net/develop
7-
minecraft_version=1.20.6
8-
yarn_mappings=1.20.6+build.1
9-
loader_version=0.15.1
7+
minecraft_version=1.21
8+
yarn_mappings=1.21+build.2
9+
loader_version=0.15.11
1010

1111
# Mod Properties
12-
mod_version=0.4.1-beta
12+
mod_version=0.4.2-beta
1313
maven_group=com.mmodding.env.json
1414
archives_base_name=env_json
1515

1616
# Dependencies
17-
fabric_version=0.97.8+1.20.6
17+
fabric_version=0.100.1+1.21

settings.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
pluginManagement {
2+
resolutionStrategy {
3+
eachPlugin {
4+
if (requested.id.toString() == "com.mmodding.gradle") {
5+
useModule("com.mmodding:mmodding-gradle:${requested.version}")
6+
}
7+
}
8+
}
29
repositories {
10+
maven {
11+
name "JitPack"
12+
url "https://jitpack.io"
13+
}
14+
maven {
15+
name "QuiltMC"
16+
url "https://maven.quiltmc.org/repository/release"
17+
}
318
maven {
419
name = 'Fabric'
520
url = 'https://maven.fabricmc.net/'

src/main/resources/fabric.mod.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)