Skip to content

Commit

Permalink
Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstMegaGame4 committed Jun 15, 2024
1 parent 2c8bd7a commit 6f63e9d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 45 deletions.
36 changes: 36 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import com.mmodding.gradle.api.EnvironmentTarget

plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'com.mmodding.gradle' version '0.0.8'
id 'maven-publish'
}

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

mmodding {
configureFabricModJson {
namespace = "env_json"
name = "env.json"
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."
addAuthor("MModding Team")
addContributor("FirstMegaGame4")
withContact {
it.homepage = "https://modrinth.com/mod/env.json"
it.sources = "https://github.com/MModding/env.json"
it.issues = "https://github.com/MModding/env.json/issues"
}
license = "Code: PolyForm-Shield-1.0.0\\nAssets: All Rights Reserved"
icon = "assets/env_json/icon.png"
environment = EnvironmentTarget.ANY
withEntrypoints {
it.init("com.mmodding.env.json.impl.EnvJsonInitializer")
}
accessWidener = "env_json.accesswidener"
addMixin("env_json.mixins.json")
withDependencies {
it.fabricLoaderVersion = ">=" + project.loader_version
it.minecraftVersion = ">=1.20.5 <=" + project.minecraft_version
it.javaVersion = ">=" + 21
it.fabricApiVersion = "*"
}
withSuggestions {
it.addDependency("env_driven_assets", "*")
it.addDependency("env_driven_data", "*")
}
}
}

processResources {
inputs.property "version", project.version

Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.1
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11

# Mod Properties
mod_version=0.4.1-beta
mod_version=0.4.2-beta
maven_group=com.mmodding.env.json
archives_base_name=env_json

# Dependencies
fabric_version=0.97.8+1.20.6
fabric_version=0.100.1+1.21
15 changes: 15 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == "com.mmodding.gradle") {
useModule("com.mmodding:mmodding-gradle:${requested.version}")
}
}
}
repositories {
maven {
name "JitPack"
url "https://jitpack.io"
}
maven {
name "QuiltMC"
url "https://maven.quiltmc.org/repository/release"
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
Expand Down
40 changes: 0 additions & 40 deletions src/main/resources/fabric.mod.json

This file was deleted.

0 comments on commit 6f63e9d

Please sign in to comment.