From d341397bb5a384a6bb976ca7b8ed2b2825ef07e6 Mon Sep 17 00:00:00 2001 From: Tom Tresansky Date: Fri, 10 May 2024 11:07:37 -0400 Subject: [PATCH 1/2] WIP - declarativizing feature/bookmarks project --- feature/bookmarks/build.gradle.dcl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 feature/bookmarks/build.gradle.dcl diff --git a/feature/bookmarks/build.gradle.dcl b/feature/bookmarks/build.gradle.dcl new file mode 100644 index 000000000..a8ecfb207 --- /dev/null +++ b/feature/bookmarks/build.gradle.dcl @@ -0,0 +1,17 @@ +androidLibrary { + namespace = "com.google.samples.apps.nowinandroid.feature.bookmarks" + + dependencies { + implementation(project(":core:data")) + testImplementation(project(":core:testing")) + androidTestImplementation(project(":core:testing")) + } + + feature { + // Calling the configure method enables this lib to be treated as a feature + } +} + + +// TODO +// alias(libs.plugins.nowinandroid.android.library.compose) From c77f7bba03fa572e67bee57de2737a2dc4a7bcad Mon Sep 17 00:00:00 2001 From: Tom Tresansky Date: Fri, 10 May 2024 15:04:50 -0400 Subject: [PATCH 2/2] Use Compose convention extension --- feature/bookmarks/build.gradle.dcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/feature/bookmarks/build.gradle.dcl b/feature/bookmarks/build.gradle.dcl index a8ecfb207..3940ea8ed 100644 --- a/feature/bookmarks/build.gradle.dcl +++ b/feature/bookmarks/build.gradle.dcl @@ -10,8 +10,8 @@ androidLibrary { feature { // Calling the configure method enables this lib to be treated as a feature } -} - -// TODO -// alias(libs.plugins.nowinandroid.android.library.compose) + compose { + // Calling the configure method enables compose support + } +}