Skip to content

Commit d2a2aeb

Browse files
committed
fix loom1.1 error
1 parent e5b5787 commit d2a2aeb

File tree

6 files changed

+73
-59
lines changed

6 files changed

+73
-59
lines changed

.github/workflows/builder.yml

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

.github/workflows/released.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
uses: TeamFelnull/actions-reusable-workflows/.github/workflows/mcmod-release.yml@master
11+
with:
12+
build_tasks: "build curseforge modrinth publish"
13+
secrets:
14+
curseforge_token: ${{ secrets.CURSEFORGE_TOKEN_MORI }}
15+
modrinth_token: ${{ secrets.MODRINTH_TOKEN_MORI }}
16+
maven_password: ${{ secrets.MAVEN_PASSWORD }}
17+
18+
postRelease:
19+
name: Update after release
20+
needs: release
21+
uses: TeamFelnull/actions-reusable-workflows/.github/workflows/mcmod-post-release.yml@master
22+
with:
23+
update_forge_version_check: false

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Changelog
2+
3+
Changelog to track updates for this mod.
4+
Add your changes to Unreleased if you want to commit.
5+
Please write according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6+
7+
## [Unreleased]
8+
9+
### Added
10+
11+
### Changed
12+
13+
- Changed dependent Fabric Loader version to 0.14.17 and Fabruc API version to 0.76.0+1.19.3
14+
15+
### Deprecated
16+
17+
- Adding this version to a MC1.19.4 project is deprecated, please use the 1.1.0 version to be uploaded at a later date.
18+
19+
### Removed
20+
21+
### Fixed
22+
23+
- Fixed error when adding to Fabric Loom 1.1 project
24+
25+
### Security
26+
27+
[Unreleased]: https://github.com/TeamFelnull/SpecialModelLoader/commits

build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '1.0-SNAPSHOT'
2+
id 'fabric-loom' version '1.1-SNAPSHOT'
33
id "com.github.johnrengelman.shadow" version "7.1.2"
44
id 'maven-publish'
55
id 'com.matthewprenger.cursegradle' version '1.4.0'
66
id "com.modrinth.minotaur" version "2.4.4"
7+
id 'org.jetbrains.changelog' version "2.0.0"
78
}
89

910
if (System.getenv("GITHUB_REF") != null && System.getenv("GITHUB_REF").startsWith("refs/tags/v")) {
@@ -53,6 +54,17 @@ loom {
5354
}
5455
//test.dependsOn runTestmodDatagen
5556

57+
changelog {
58+
repositoryUrl = rootProject.repository_url
59+
introduction = """
60+
Changelog to track updates for this mod.
61+
Add your changes to Unreleased if you want to commit.
62+
Please write according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
63+
"""
64+
combinePreReleases = false
65+
}
66+
67+
5668
repositories {
5769

5870
}
@@ -100,6 +112,9 @@ tasks.withType(JavaCompile).configureEach {
100112

101113
java {
102114
withSourcesJar()
115+
116+
sourceCompatibility = JavaVersion.VERSION_17
117+
targetCompatibility = JavaVersion.VERSION_17
103118
}
104119

105120
jar {

gradle.properties

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ minecraft_version=1.19.3
66
#Mod
77
archives_base_name=special-model-loader
88
mod_display_name=SpecialModelLoader
9-
mod_version=1.0.0
9+
mod_version=1.0.1
1010
#Dependencies
11-
loader_version=0.14.11
12-
fabric_version=0.68.1+1.19.3
11+
loader_version=0.14.17
12+
fabric_version=0.76.0+1.19.3
1313
#-Maven-#
1414
maven_group=dev.felnull
1515
maven_put_pass=
1616
#Upload
1717
curesforge_id=782421
1818
modrinth_id=ajFw7VkX
19-
release_type=release
19+
release_type=release
20+
#Other
21+
repository_url=https://github.com/TeamFelnull/SpecialModelLoader

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
]
2222
},
2323
"depends": {
24-
"fabricloader": ">=0.14.11",
24+
"fabricloader": ">=0.14.17",
2525
"fabric-api": "*",
2626
"minecraft": ">=1.19.3",
2727
"java": ">=17"

0 commit comments

Comments
 (0)