change gradle

pull/138/head
于俊 1 year ago
parent 977d29eea5
commit 96897cfde6
  1. 4
      app/build.gradle
  2. 3
      gradle.properties

@ -115,7 +115,3 @@ dependencies {
implementation ('org.chromium.net:cronet-embedded:101.4951.41')
}
tasks.withType(JavaCompile) {
options.fork = true
options.forkOptions.jvmArgs << "--add-opens=java.base/java.io=ALL-UNNAMED"
}

@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m
#org.gradle.jvmargs=-Xmx2048m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
@ -18,3 +18,4 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
IsDebug=true
org.gradle.jvmargs=--add-opens java.base/java.i0=ALL-UNNAMED

Loading…
Cancel
Save