Change build configuration
This commit is contained in:
parent
6d6d364015
commit
97e592c732
|
@ -29,6 +29,9 @@ android {
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
kotlinOptions {
|
||||||
|
freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
|
||||||
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
@ -50,6 +53,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation "androidx.profileinstaller:profileinstaller:1.2.0-alpha02"
|
||||||
implementation("io.coil-kt:coil-compose:2.0.0-rc02")
|
implementation("io.coil-kt:coil-compose:2.0.0-rc02")
|
||||||
implementation("androidx.compose.animation:animation-graphics:$compose_version")
|
implementation("androidx.compose.animation:animation-graphics:$compose_version")
|
||||||
implementation("com.google.accompanist:accompanist-flowlayout:0.24.3-alpha")
|
implementation("com.google.accompanist:accompanist-flowlayout:0.24.3-alpha")
|
||||||
|
|
8
app/proguard-rules.pro
vendored
8
app/proguard-rules.pro
vendored
|
@ -18,4 +18,10 @@
|
||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
-dontobfuscate
|
||||||
|
|
||||||
|
# Disable ServiceLoader reproducibility-breaking optimizations
|
||||||
|
-keep class kotlinx.coroutines.CoroutineExceptionHandler
|
||||||
|
-keep class kotlinx.coroutines.internal.MainDispatcherFactory
|
|
@ -1,23 +1,4 @@
|
||||||
# Project-wide Gradle settings.
|
org.gradle.daemon=true
|
||||||
# IDE (e.g. Android Studio) users:
|
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC
|
||||||
# Gradle settings configured through the IDE *will override*
|
org.gradle.parallel=true
|
||||||
# any settings specified in this file.
|
android.useAndroidX=true
|
||||||
# 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.
|
|
||||||
org.gradle.jvmargs=-Xmx2048m -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
|
|
||||||
# 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
|
|
||||||
# Kotlin code style for this project: "official" or "obsolete":
|
|
||||||
kotlin.code.style=official
|
|
||||||
# Enables namespacing of each library's R class so that its R class includes only the
|
|
||||||
# resources declared in the library itself and none from the library's dependencies,
|
|
||||||
# thereby reducing the size of the R class for that library
|
|
||||||
android.nonTransitiveRClass=true
|
|
Loading…
Reference in New Issue
Block a user