Skip to content

Commit 022a4ab

Browse files
author
limuyang
committed
Add kotlinOptions
1 parent c02d466 commit 022a4ab

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

gradle.properties

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
1-
# Project-wide Gradle settings.
2-
3-
# IDE (e.g. Android Studio) users:
4-
# Gradle settings configured through the IDE *will override*
5-
# any settings specified in this file.
6-
7-
# For more details on how to configure your build environment visit
1+
## For more details on how to configure your build environment visit
82
# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
3+
#
104
# Specifies the JVM arguments used for the daemon process.
115
# The setting is particularly useful for tweaking memory settings.
12-
# Default value: -Xmx10248m -XX:MaxPermSize=256m
6+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
137
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14-
8+
#
159
# When configured, Gradle will run in incubating parallel mode.
1610
# This option should only be used with decoupled projects. More details, visit
1711
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1812
# org.gradle.parallel=true
19-
android.enableBuildCache=true
20-
android.enableD8=true
13+
#Wed Feb 26 13:11:31 CST 2020
14+
android.enableJetifier=true
15+
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"
2116
android.buildCacheDir=./build/buildCache/
22-
23-
# AndroidX package structure to make it clearer which packages are bundled with the
24-
# Android operating system, and which are packaged with your app's APK
25-
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2617
android.useAndroidX=true
27-
# Automatically convert third-party libraries to use AndroidX
28-
android.enableJetifier=true
18+
android.enableD8=true
19+
android.enableBuildCache=true

library/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ android {
2020
consumerProguardFiles 'proguard-rules.pro'
2121
}
2222
}
23+
compileOptions {
24+
kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.CymChad.brvah"]
25+
}
26+
2327
lintOptions {
2428
abortOnError false
2529
}

0 commit comments

Comments
 (0)