Skip to content

Commit

Permalink
Add kotlinOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
limuyang committed Feb 28, 2020
1 parent c02d466 commit 022a4ab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
27 changes: 9 additions & 18 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ android {
consumerProguardFiles 'proguard-rules.pro'
}
}
compileOptions {
kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.CymChad.brvah"]
}

lintOptions {
abortOnError false
}
Expand Down

0 comments on commit 022a4ab

Please sign in to comment.