A fully functional Android app built entirely with Kotlin and Jetpack Compose
Add optimisations to improve build times
Simona Stojanovic47dea1a2f67b
diff --git a/gradle.properties b/gradle.propertiesindex 98bed167d..445a78d57 100644--- a/gradle.properties+++ b/gradle.properties@@ -6,6 +6,9 @@# 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.configureondemand=true+org.gradle.caching=true+org.gradle.parallel=trueorg.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@@ -18,4 +21,6 @@ android.useAndroidX=true# Automatically convert third-party libraries to use AndroidXandroid.enableJetifier=true# Kotlin code style for this project: "official" or "obsolete":-kotlin.code.style=official\ No newline at end of file+kotlin.code.style=official+# Allow kapt to use incremental processing+kapt.incremental.apt=true\ No newline at end of filediff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex 951ba1225..25b662abf 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -4,7 +4,7 @@ androidDesugarJdkLibs = "1.1.5"androidGradlePlugin = "7.0.3"androidxActivity = "1.4.0"androidxAppCompat = "1.3.0"-androidxCompose = "1.2.0-SNAPSHOT"+androidxCompose = "1.2.0-alpha03"androidxComposeMaterial3 = "1.0.0-alpha03"androidxCore = "1.7.0"androidxDataStore = "1.0.0"diff --git a/settings.gradle b/settings.gradleindex 60be75337..f33d4388f 100644--- a/settings.gradle+++ b/settings.gradle@@ -24,7 +24,6 @@ dependencyResolutionManagement {google()mavenCentral()gradlePluginPortal()- maven { url "https://androidx.dev/snapshots/builds/8143371/artifacts/repository" }}}rootProject.name = "nowinandroid"