Remove -XX:MaxPermSize option.

Android Gradle requires JDK 17, and this option was removed between Java 11 and Java 17.
This commit is contained in:
Surim Kim committed 2024-04-08 10:05:28 +09:00
1 parent 66f92c6c60
commit 703965a0dd
3 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -53,8 +53,7 @@ jobs:
- name: Build APK
run: |
cd ${{ github.workspace }}/V2rayNG
chmod 777 *
sed -i 's/org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8/org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8/' ${{ github.workspace }}/V2rayNG/gradle.properties
chmod 755 gradlew
./gradlew assembleDebug
- name: Upload APK
+1 -1
View File
@@ -3,4 +3,4 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.code.style=official
android.nonTransitiveRClass=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Vendored Regular → Executable
View File
File mode changed.