diff --git a/core/common/build.gradle.dcl b/core/common/build.gradle.dcl index 327be1a1b..3a0060cdb 100644 --- a/core/common/build.gradle.dcl +++ b/core/common/build.gradle.dcl @@ -1,13 +1,7 @@ androidLibrary { namespace = "com.google.samples.apps.nowinandroid.core.common" - buildTypes { - buildTypes { - // Need the empty closure to avoid "dangling pure expression" error - debug {} - release {} - } - } + hilt {} testing { dependencies { diff --git a/core/data/build.gradle.dcl b/core/data/build.gradle.dcl index 2ea4315e9..7a779feae 100644 --- a/core/data/build.gradle.dcl +++ b/core/data/build.gradle.dcl @@ -11,15 +11,10 @@ androidLibrary { implementation(project(":core:notifications")) } - kotlinSerialization { - version = "1.6.3" - json() - } + hilt {} - buildTypes { - // Need the empty closure to avoid "dangling pure expression" error - debug {} - release {} + kotlinSerialization { + jsonEnabled = true } testing { diff --git a/core/domain/build.gradle.dcl b/core/domain/build.gradle.dcl index bb32ab6de..7c05f6eff 100644 --- a/core/domain/build.gradle.dcl +++ b/core/domain/build.gradle.dcl @@ -8,12 +8,6 @@ androidLibrary { api(project(":core:model")) } - buildTypes { - // Need the empty closure to avoid "dangling pure expression" error - debug {} - release {} - } - testing { dependencies { implementation(project(":core:testing")) diff --git a/feature/bookmarks/build.gradle.dcl b/feature/bookmarks/build.gradle.dcl index 991a08c17..f5469ba54 100644 --- a/feature/bookmarks/build.gradle.dcl +++ b/feature/bookmarks/build.gradle.dcl @@ -5,12 +5,12 @@ androidLibrary { implementation(project(":core:data")) } - feature { - description = "Calling the configure method enables this lib to be treated as a feature" - } + feature {} compose { - description = "Calling the configure method enables compose support" + // TODO: This should be a file property, and not assume it's a path from the root project + stabilityConfigurationFilePath = "/compose_compiler_config.conf" + experimentalStrongSkipping = true } testing {