Reduce duplicate code (#18)
* Reduce duplicate code * Fix gradle task name * Revert name changes * Revert action name * Cleanup * Revert to java 17 * Fix generation * Cleanup * Simplify code of DGU * Remove unnecessary annotations * Remove unused var * Halt with error on error * Remove unused mixins * Update fabric loader * Ignore success result * Update gradle and use merged jar * Implement new client and server merged environment for running fabric * Set server run dir as asset dir * More cleanup * More cleanup 2 * More improvements * Remove more duplicate code * Use newer java methods * More cleanup * Remove SoundAccessors * More cleanup * Use java 21 for build * Initial work on 1.20.5 * Cleanup a lot of stuff * Do not generate mod jars to speed up builds * Override merger on now open classes directly * Use recommended approach * Readd custom merger * Working materials data generator * Fix inconsistencies * Fix collision order to be random * Use LinkedHashMap for more reproducibility * Fix imports
This commit is contained in:
@@ -11,7 +11,26 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["1.7", "1.8.9", "1.9.4", "1.10.2", "1.11.2", "1.12.2", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "22w19a", "1.19", "1.19.2", "1.20", "1.20.4"]
|
||||
version: [
|
||||
"1.7",
|
||||
"1.8.9",
|
||||
"1.9.4",
|
||||
"1.10.2",
|
||||
"1.11.2",
|
||||
"1.12.2",
|
||||
"1.13",
|
||||
"1.14",
|
||||
"1.15",
|
||||
"1.16",
|
||||
"1.17",
|
||||
"1.18",
|
||||
"22w19a",
|
||||
"1.19",
|
||||
"1.19.2",
|
||||
"1.20",
|
||||
"1.20.4",
|
||||
"1.20.5"
|
||||
]
|
||||
|
||||
name: Build ${{ matrix.version }}
|
||||
timeout-minutes: 10
|
||||
@@ -25,10 +44,10 @@ jobs:
|
||||
- name: Validate Gradle wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
- name: Set up JDK 17
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Generate ${{ matrix.version }}
|
||||
@@ -40,5 +59,5 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: data-${{ matrix.version }}
|
||||
path: ${{ matrix.version }}/run/minecraft-data
|
||||
path: ${{ matrix.version }}/run/server/minecraft-data
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user