forked from Anuken/Mindustry
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Anuken:master' into master
- Loading branch information
Showing
311 changed files
with
14,365 additions
and
7,184 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,10 @@ | ||
name: "Validate Gradle Wrapper" | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
validation: | ||
name: "Validation" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v2 |
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 |
---|---|---|
|
@@ -34,6 +34,7 @@ jobs: | |
if [ -n "$(git status --porcelain)" ]; then | ||
git config --global user.name "Github Actions" | ||
git config --global user.email "[email protected]" | ||
git add core/assets/bundles/* | ||
git commit -m "Automatic bundle update" | ||
git push | ||
|
@@ -42,7 +43,7 @@ jobs: | |
if: ${{ github.repository == 'Anuken/Mindustry' }} | ||
run: | | ||
git config --global user.name "Github Actions" | ||
git config --global user.email "cli@github.com" | ||
git config --global user.email "actions@github.com" | ||
cd ../ | ||
cp -r ./Mindustry ./MindustryJitpack | ||
cd MindustryJitpack | ||
|
@@ -57,4 +58,4 @@ jobs: | |
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryJitpack | ||
cd ../Mindustry | ||
- name: Run unit tests | ||
run: ./gradlew clean cleanTest test --stacktrace | ||
run: ./gradlew tests:test --rerun --stacktrace |
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
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
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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
-dontobfuscate | ||
|
||
#these are essential packages that should not be "optimized" in any way | ||
#the main purpose of d8 here is to shrink the absurdly-large google play games libraries | ||
-keep class mindustry.** { *; } | ||
-keep class arc.** { *; } | ||
-keep class net.jpountz.** { *; } | ||
-keep class rhino.** { *; } | ||
-keep class com.android.dex.** { *; } | ||
-keepattributes Signature,*Annotation*,InnerClasses,EnclosingMethod | ||
|
||
-dontwarn javax.naming.** | ||
|
||
#-printusage out.txt |
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
Oops, something went wrong.