From 9bf99ad4e76e9aa19be393bd101ce18a014a0a34 Mon Sep 17 00:00:00 2001 From: Jordan Terry Date: Thu, 12 Dec 2024 21:58:09 +0000 Subject: [PATCH] Create a `:core:domain:api` module --- core/domain/api/AndroidManifest.xml | 17 +++++++++++++++++ core/domain/api/build.gradle.kts | 28 ++++++++++++++++++++++++++++ settings.gradle.kts | 1 + 3 files changed, 46 insertions(+) create mode 100644 core/domain/api/AndroidManifest.xml create mode 100644 core/domain/api/build.gradle.kts diff --git a/core/domain/api/AndroidManifest.xml b/core/domain/api/AndroidManifest.xml new file mode 100644 index 000000000..51d0cfc2e --- /dev/null +++ b/core/domain/api/AndroidManifest.xml @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/core/domain/api/build.gradle.kts b/core/domain/api/build.gradle.kts new file mode 100644 index 000000000..feb32c7af --- /dev/null +++ b/core/domain/api/build.gradle.kts @@ -0,0 +1,28 @@ +/* + * Copyright 2024 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +plugins { + alias(libs.plugins.nowinandroid.android.library) + alias(libs.plugins.nowinandroid.android.library.jacoco) +} + +android { + namespace = "com.google.samples.apps.nowinandroid.core.domain.api" +} + +dependencies { + api(projects.core.data) + api(projects.core.model) +} \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 2b8c6e45c..8dbe82263 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -58,6 +58,7 @@ include(":core:datastore-proto") include(":core:datastore-test") include(":core:designsystem") include(":core:domain") +include(":core:domain:api") include(":core:model") include(":core:network") include(":core:notifications")