-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'experiments/unimined' into dev
# Conflicts: # README.md
- Loading branch information
Showing
80 changed files
with
1,865 additions
and
560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: publish | ||
on: [ workflow_dispatch ] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '17' | ||
- name: Adjust Gradle permission | ||
run: chmod +x ./gradlew | ||
- name: :build | ||
run: ./gradlew build | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: zume | ||
path: "**/zume-*.jar" | ||
- name: :publishMods | ||
run: ./gradlew publishMods | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | ||
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- migrate to Kotlin buildscript (I hate Kotlin but I hate Groovy more) | ||
- migrate to Unimined (adding new platforms should be way easier now) | ||
- add support for LexForge 14.4+ (this required 3 separate implementations :harold:) | ||
- add support for NeoForge 20.1+ | ||
- remove hard dependency on MixinBooter in Vintage Forge; Zume just verifies that mixins get loaded now, it doesn't | ||
care how |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import xyz.wagyourtail.unimined.api.minecraft.task.RemapJarTask | ||
|
||
operator fun String.invoke(): String { | ||
return (rootProject.properties[this] as String?)!! | ||
} | ||
|
||
unimined.minecraft { | ||
version("archaic_minecraft_version"()) | ||
|
||
runs { | ||
config("server") { | ||
disabled = true | ||
} | ||
} | ||
|
||
minecraftForge { | ||
loader("archaic_forge_version"()) | ||
mixinConfig("zume-${project.name}.mixins.json") | ||
} | ||
|
||
mappings { | ||
searge() | ||
mcp("stable", "archaic_mappings_version"()) | ||
} | ||
|
||
defaultRemapJar = true | ||
} | ||
|
||
tasks.withType<RemapJarTask> { | ||
mixinRemap { | ||
enableMixinExtra() | ||
} | ||
} | ||
|
||
dependencies { | ||
"modImplementation"("com.github.LegacyModdingMC.UniMixins:unimixins-all-1.7.10:${"unimixins_version"()}:dev") | ||
|
||
implementation(project(":common")) | ||
} | ||
|
||
tasks.processResources { | ||
from("common/src/main/resources") | ||
|
||
filteringCharset = "UTF-8" | ||
|
||
// filesMatching("mcmod.info") { | ||
// expand(rootProject.properties) | ||
// } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.