Skip to content

Commit

Permalink
Merge pull request #1067 from embrace-io/module-build-setup
Browse files Browse the repository at this point in the history
Setup embrace-android-core & embrace-android-features modules
  • Loading branch information
fractalwrench authored Jul 10, 2024
2 parents 4374d13 + 5ae8d54 commit f05d333
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions embrace-android-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# embrace-android-core

Contains implementation details that Embrace does not consider to be part of its public API.
The embrace-android-sdk module relies on this module & uses it to hide implementation details from library consumers.
Empty file.
9 changes: 9 additions & 0 deletions embrace-android-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
plugins {
id("embrace-defaults")
}

description = "Embrace Android SDK: Core"

android {
namespace = "io.embrace.android.embracesdk.core"
}
4 changes: 4 additions & 0 deletions embrace-android-core/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.5.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.0)" variant="all" version="8.5.0">

</issues>
4 changes: 4 additions & 0 deletions embrace-android-features/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# embrace-android-features

Contains features that aren't part of the core SDK functionality of capturing & delivering OTel data,
but are required for customer expectations to be met.
Empty file.
9 changes: 9 additions & 0 deletions embrace-android-features/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
plugins {
id("embrace-defaults")
}

description = "Embrace Android SDK: Features"

android {
namespace = "io.embrace.android.embracesdk.features"
}
4 changes: 4 additions & 0 deletions embrace-android-features/lint-baseline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.5.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.0)" variant="all" version="8.5.0">

</issues>
5 changes: 5 additions & 0 deletions embrace-android-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ dependencies {
kover(project(":embrace-android-compose"))
kover(project(":embrace-android-fcm"))
kover(project(":embrace-android-okhttp3"))
kover(project(":embrace-android-core"))
kover(project(":embrace-android-features"))
}

kover {
Expand All @@ -60,6 +62,9 @@ kover {
}

dependencies {
implementation(project(":embrace-android-core"))
implementation(project(":embrace-android-features"))

implementation(platform(libs.opentelemetry.bom))
implementation(libs.lifecycle.common.java8)
implementation(libs.lifecycle.process)
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include(
":embrace-android-sdk",
":embrace-android-core",
":embrace-android-features",
":embrace-android-okhttp3",
":embrace-android-fcm",
":embrace-android-compose",
Expand Down

0 comments on commit f05d333

Please sign in to comment.