-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reapply "Merge branch 'dev/main' into dev/prism/weapons"
This reverts commit 636ad97.
- Loading branch information
Showing
232 changed files
with
20,570 additions
and
9,337 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
uses: fregante/setup-git-user@v2 | ||
|
||
- name: Setup Git User | ||
run: git config --global user.name "Automated Carver Device(tm)" | ||
run: git config --global user.name "Automated Carver Device(tm)" ; git config --global user.email "[email protected]" | ||
|
||
- name: Verify Changed files | ||
uses: tj-actions/verify-changed-files@v20 | ||
|
@@ -49,9 +49,11 @@ jobs: | |
- name: Create Pull Request | ||
if: steps.verify-changed-files.outputs.files_changed == 'true' | ||
uses: peter-evans/create-pull-request@v5.0.2 | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
title: Optimized Assets | ||
commit-message: optimized assets | ||
body: Assets were automatically optimized. | ||
author: CarverBot <[email protected]> | ||
committer: CarverBot <[email protected]> | ||
token: ${{ secrets.OPTIMIZATION_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
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,5 +1,3 @@ | ||
// Here you can put yout uuid and username so you can play minecraft as yourself which can be userful | ||
// when testing skins or other player specific mechanics/features | ||
runClient { | ||
args = ["--uuid", "your uuid", "--username", "your username"] | ||
args = ['--username', '', '--uuid', ''] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
apply plugin: 'signing' | ||
|
||
if(ii_generateCoreJar=='true') | ||
{ | ||
tasks.register('signCoreJar') { | ||
group 'signing' | ||
|
||
onlyIf { | ||
hasKeyStore() | ||
} | ||
|
||
outputs.upToDateWhen {false} | ||
|
||
dependsOn reobfCoreJar | ||
|
||
doLast { | ||
def signdir = new File("$buildDir/libs") | ||
signdir.mkdirs() | ||
ant.signjar( | ||
destDir: "${signdir.absolutePath}", | ||
jar: 'build/libs/*-core.jar', | ||
alias:getOr("SIGNING_KEY_ALIAS", project.keyStoreAlias), | ||
storetype:"jks", | ||
keystore:"${getOr("SIGNING_KEY_STORE_PATH", project.keyStore)}", | ||
storepass:getOr("SIGNING_STORE_PASSWORD", project.keyStorePass), | ||
keypass:getOr("SIGNING_KEY_PASSWORD", project.keyStoreKeyPass), | ||
preservelastmodified:"true" | ||
//verbose:true | ||
) | ||
} | ||
} | ||
|
||
tasks.coreJar.finalizedBy() { | ||
signCoreJar | ||
} | ||
} | ||
|
||
tasks.register('signMainJar') { | ||
group 'signing' | ||
onlyIf { | ||
hasKeyStore() | ||
} | ||
|
||
outputs.upToDateWhen {false} | ||
|
||
dependsOn reobfJar | ||
|
||
doLast { | ||
def signdir = new File("$buildDir/libs") | ||
signdir.mkdirs() | ||
ant.signjar( | ||
destDir: "${signdir.absolutePath}", | ||
jar: 'build/libs/*.jar', | ||
alias:getOr("SIGNING_KEY_ALIAS", project.keyStoreAlias), | ||
storetype:"jks", | ||
keystore:"${getOr("SIGNING_KEY_STORE_PATH", project.keyStore)}", | ||
storepass:getOr("SIGNING_STORE_PASSWORD", project.keyStorePass), | ||
keypass:getOr("SIGNING_KEY_PASSWORD", project.keyStoreKeyPass), | ||
preservelastmodified:"true" | ||
//tsaurl:getOr("SIGNING_TIMESTAMP_URL", project.timestampUrl) | ||
) | ||
} | ||
} | ||
|
||
boolean hasKeyStore() | ||
{ | ||
if (!ii_enableSigning.asBoolean()) return false | ||
def keystore = getOr("SIGNING_KEY_STORE_PATH", project.keyStore) | ||
if (keystore instanceof File) { | ||
return ((File)keystore).exists() | ||
} else { | ||
return !((String)keystore).isEmpty() | ||
} | ||
} |
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
Empty file.
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.