mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 03:32:38 +08:00
perf: gradle build
This commit is contained in:
parent
f0e9a538e5
commit
52094e48bc
12
.github/workflows/Build-Apk.yml
vendored
12
.github/workflows/Build-Apk.yml
vendored
|
@ -32,28 +32,18 @@ jobs:
|
|||
echo GKD_KEY_PASSWORD='${{ secrets.GKD_KEY_PASSWORD }}' >> gradle.properties
|
||||
|
||||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew app:assemble
|
||||
- run: ./gradlew app:assembleRelease
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: outputs
|
||||
path: app/build/outputs
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: default-debug
|
||||
path: app/build/outputs/apk/default/debug
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: default-release
|
||||
path: app/build/outputs/apk/default/release
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fdroid-debug
|
||||
path: app/build/outputs/apk/fdroid/debug
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fdroid-release
|
||||
|
|
12
.github/workflows/Build-Release.yml
vendored
12
.github/workflows/Build-Release.yml
vendored
|
@ -25,28 +25,18 @@ jobs:
|
|||
echo GKD_KEY_PASSWORD='${{ secrets.GKD_KEY_PASSWORD }}' >> gradle.properties
|
||||
|
||||
- run: chmod 777 ./gradlew
|
||||
- run: ./gradlew app:assemble
|
||||
- run: ./gradlew app:assembleRelease
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: outputs
|
||||
path: app/build/outputs
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: default-debug
|
||||
path: app/build/outputs/apk/default/debug
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: default-release
|
||||
path: app/build/outputs/apk/default/release
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fdroid-debug
|
||||
path: app/build/outputs/apk/fdroid/debug
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: fdroid-release
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
|
||||
org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g
|
||||
org.gradle.parallel=true
|
||||
org.gradle.caching=true
|
||||
org.gradle.configuration-cache=true
|
||||
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
kotlin.code.style=official
|
||||
android.debug.obsoleteApi=true
|
||||
|
||||
kotlin.code.style=official
|
||||
|
|
Loading…
Reference in New Issue
Block a user