Skip to content

Commit

Permalink
Merge pull request #151 from viciscat/1.20.5
Browse files Browse the repository at this point in the history
compose or something idk
  • Loading branch information
tr7zw authored Jul 27, 2024
2 parents f89d7f7 + 8432e0d commit ec2aa06
Show file tree
Hide file tree
Showing 40 changed files with 592 additions and 648 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,31 @@ jobs:
- name: checkout repository
uses: actions/checkout@v2
- name: setup jdk 21
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
# to cache gradle files
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: false
gradle-home-cache-cleanup: true
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
dependency-graph: generate-and-submit
# Already needs to be executable, so the dirty check is correct
# - name: make gradle wrapper executable
# if: ${{ runner.os != 'Windows' }}
# run: chmod +x ./gradlecw
- name: build
run: ./gradlew build
run: ./gradlecw build
- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: Artifacts
path: |
build/libs/*
path: 'versions/**/build/libs/*.jar'
# - name: Test Report
# uses: dorny/test-reporter@v1
# if: success() || failure()
# with:
# name: JUnit Tests
# path: '**/build/test-results/test/TEST-*.xml'
# reporter: java-junit
26 changes: 16 additions & 10 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,33 @@ jobs:
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: setup jdk 17
- name: setup jdk 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: make gradle wrapper executable
run: chmod +x ./gradlecw
- name: build
run: ./gradlecw build -Pbuild.release=true
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
FG-Fabric/build/libs/*
- name: Publish-Fabric
files: 'versions/**/build/libs/!(*-@(dev|sources|javadoc|all)).jar'
- name: Publish-1.20.6-fabric-Curseforge
uses: Kir-Antipov/mc-publish@v3.3.0
with:
curseforge-id: 681953
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
loaders: fabric
name: ${{github.ref_name}}-1.20.6 - Fabric
files: 'versions/1.20.6-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar'
game-versions: 1.20.6
- name: Publish-1.20.6-fabric-Modrinth
uses: Kir-Antipov/mc-publish@v3.3.0
with:
modrinth-id: DynYZEae
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 681953
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
loaders: fabric
name: ${{github.ref_name}} - Fabric
files: '*Fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar'
game-versions: 1.20.4
name: ${{github.ref_name}}-1.20.6 - Fabric
files: 'versions/1.20.6-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar'
game-versions: 1.20.6
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ bin/

run/
logs/

# compose

*.gradle
*.properties
gradle/wrapper
VersionShared
UtilityCode
formatter.xml
src/main/fabric-resources/fabric.mod.json
src/main/forge-resources/META-INF/mods.toml
src/main/neoforge-resources/META-INF/mods.toml
**/src/main/java/dev/tr7zw/config/CustomConfigScreen.java
**/src/main/java/dev/tr7zw/util/ComponentProvider.java
src/main/resources/pack.mcmeta
src/main/java/dev/tr7zw/util/ModLoaderUtil.java
src/main/java/dev/tr7zw/util/NMSHelper.java
src/main/neoforge-resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.tr7zw.exordium.config;
package dev.tr7zw.exordium.versionless;

public class Config {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.tr7zw.exordium.config;
package dev.tr7zw.exordium.versionless;

public class ConfigUpgrader {

Expand Down
168 changes: 0 additions & 168 deletions build.gradle

This file was deleted.

35 changes: 35 additions & 0 deletions gradle-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: '0.0.2'
source: "https://github.com/tr7zw/ProcessedModTemplate/tree/legacy12006"
replacements:
name: "Exordium"
id: "exordium"
version: "1.2.1"
description: "UI Frames go die"
homepageUrl: "https://modrinth.com/mod/exordium"
sourcesUrl: "https://github.com/tr7zw/Exordium"
issuesUrl: "https://github.com/tr7zw/Exordium/issues"
fabric_entrypoint: "dev.tr7zw.exordium.ExordiumMod"
fabric_modmenu_entrypoint: "dev.tr7zw.exordium.ExordiumModMenu"
relocationpackage: "dev.tr7zw.exordium"
licensename: "LICENSE-Exordium"
modrinthid: DynYZEae
curseforgeid: 681953
versionlessname: "Exordium-Versionless"
enabledFlags:
- autopublish
- publishFabric
- modrinth
- curseforge
- versionless
rootProject:
template: "."
subProjects:
Exordium-Versionless:
template: "Versionless"
replacements:
dependencies: '
compileOnly "com.google.code.gson:gson:2.10.1"
compileOnly "org.apache.logging.log4j:log4j-core:2.20.0"
'
19 changes: 0 additions & 19 deletions gradle.properties

This file was deleted.

Binary file added gradle/gradle-compose.jar
Binary file not shown.
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading

0 comments on commit ec2aa06

Please sign in to comment.