diff --git a/gradle.properties b/gradle.properties index 11882c7a3..380a718be 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,28 +1,19 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit +## For more details on how to configure your build environment visit # 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. -# Default value: -Xmx10248m -XX:MaxPermSize=256m +# Default value: -Xmx1024m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - +# # 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 # org.gradle.parallel=true -android.enableBuildCache=true -android.enableD8=true +#Wed Feb 26 13:11:31 CST 2020 +android.enableJetifier=true +org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" android.buildCacheDir=./build/buildCache/ - -# AndroidX package structure to make it clearer which packages are bundled with the -# Android operating system, and which are packaged with your app's APK -# https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -# Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true +android.enableD8=true +android.enableBuildCache=true diff --git a/library/build.gradle b/library/build.gradle index 497920d4a..f8593df94 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -20,6 +20,10 @@ android { consumerProguardFiles 'proguard-rules.pro' } } + compileOptions { + kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.CymChad.brvah"] + } + lintOptions { abortOnError false }