Add optimisations to improve build times

Change-Id: I06b7924c7c615dbf9f523c94db89536dd000d69a
pull/2/head
Simona Stojanovic 3 years ago
parent 1411b1576b
commit 47dea1a2f6

@ -6,6 +6,9 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html # http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process. # Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings. # The setting is particularly useful for tweaking memory settings.
org.gradle.configureondemand=true
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode. # When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit # This option should only be used with decoupled projects. More details, visit
@ -19,3 +22,5 @@ android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete": # Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official kotlin.code.style=official
# Allow kapt to use incremental processing
kapt.incremental.apt=true

@ -4,7 +4,7 @@ androidDesugarJdkLibs = "1.1.5"
androidGradlePlugin = "7.0.3" androidGradlePlugin = "7.0.3"
androidxActivity = "1.4.0" androidxActivity = "1.4.0"
androidxAppCompat = "1.3.0" androidxAppCompat = "1.3.0"
androidxCompose = "1.2.0-SNAPSHOT" androidxCompose = "1.2.0-alpha03"
androidxComposeMaterial3 = "1.0.0-alpha03" androidxComposeMaterial3 = "1.0.0-alpha03"
androidxCore = "1.7.0" androidxCore = "1.7.0"
androidxDataStore = "1.0.0" androidxDataStore = "1.0.0"

@ -24,7 +24,6 @@ dependencyResolutionManagement {
google() google()
mavenCentral() mavenCentral()
gradlePluginPortal() gradlePluginPortal()
maven { url "https://androidx.dev/snapshots/builds/8143371/artifacts/repository" }
} }
} }
rootProject.name = "nowinandroid" rootProject.name = "nowinandroid"

Loading…
Cancel
Save