Skip to content

Commit

Permalink
Update loom and gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Oct 25, 2023
1 parent e8b5bd2 commit c6de6b2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}
plugins {
id 'java-library'
id 'fabric-loom' version '1.1-SNAPSHOT'
id 'fabric-loom' version '1.3-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '2.+'
id 'org.ajoberstar.reckon' version '0.13.0'
Expand Down Expand Up @@ -65,7 +65,12 @@ processResources {
inputs.property "version", project.version.toString()

filesMatching("fabric.mod.json") {
expand "version": project.version.toString()
expand "version": project.version.toString(),
"minecraftVersion": project.minecraft_version_range,
"loaderVersion": ">=${project.loader_version}",
"fabricVersion": ">=${project.fabric_version}",
"kirinVersion": ">=${kirin_version}",
"minelpVersion": ">=${project.minelp_version}"
}

from 'LICENSE'
Expand All @@ -89,6 +94,7 @@ modrinth {
versionNumber = version.toString()
versionName = archivesBaseName + '-' + version
changelog = "[Changelog](https://github.com/Sollace/Presence-Footsteps/releases/tag/${version.toString()})"
loaders = ['fabric', 'quilt']
uploadFile = remapJar
outlet.mcVersions().each{ver ->
gameVersions.add ver
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
11 changes: 5 additions & 6 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@
"presencefootsteps.mixin.json"
],
"depends": {
"fabricloader": ">=0.12.0",
"minecraft": "${minecraftVersion}",
"fabricloader": "${loaderVersion}",
"java": ">=17",
"fabric-api-base": ">=0.1.0",
"fabric-lifecycle-events-v1": ">=0.1.0",
"fabric-resource-loader-v0": ">=0.1.0",
"kirin": "*"
"fabric-api": "${fabricVersion}",
"kirin": "${kirinVersion}"
},
"suggests": {
"minelp": "*"
"minelp": "${minelpVersion}"
},
"custom": {
"modmenu": {
Expand Down

0 comments on commit c6de6b2

Please sign in to comment.