Merge pull request #24 from gradle/tt/further-declarativization

Further Declarativization
pull/1455/head
Tom Tresansky 1 year ago committed by GitHub
commit 958c366233
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,13 +1,7 @@
androidLibrary { androidLibrary {
namespace = "com.google.samples.apps.nowinandroid.core.common" namespace = "com.google.samples.apps.nowinandroid.core.common"
buildTypes { hilt {}
buildTypes {
// Need the empty closure to avoid "dangling pure expression" error
debug {}
release {}
}
}
testing { testing {
dependencies { dependencies {

@ -11,15 +11,10 @@ androidLibrary {
implementation(project(":core:notifications")) implementation(project(":core:notifications"))
} }
kotlinSerialization { hilt {}
version = "1.6.3"
json()
}
buildTypes { kotlinSerialization {
// Need the empty closure to avoid "dangling pure expression" error jsonEnabled = true
debug {}
release {}
} }
testing { testing {

@ -8,12 +8,6 @@ androidLibrary {
api(project(":core:model")) api(project(":core:model"))
} }
buildTypes {
// Need the empty closure to avoid "dangling pure expression" error
debug {}
release {}
}
testing { testing {
dependencies { dependencies {
implementation(project(":core:testing")) implementation(project(":core:testing"))

@ -5,12 +5,12 @@ androidLibrary {
implementation(project(":core:data")) implementation(project(":core:data"))
} }
feature { feature {}
description = "Calling the configure method enables this lib to be treated as a feature"
}
compose { 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 { testing {

Loading…
Cancel
Save