-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1115 from embrace-io/setup-api-module
Setup api module
- Loading branch information
Showing
11 changed files
with
76 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
public final class io/embrace/android/embracesdk/Severity : java/lang/Enum { | ||
public static final field ERROR Lio/embrace/android/embracesdk/Severity; | ||
public static final field INFO Lio/embrace/android/embracesdk/Severity; | ||
public static final field WARNING Lio/embrace/android/embracesdk/Severity; | ||
public static fun valueOf (Ljava/lang/String;)Lio/embrace/android/embracesdk/Severity; | ||
public static fun values ()[Lio/embrace/android/embracesdk/Severity; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
plugins { | ||
id("embrace-defaults") | ||
} | ||
|
||
description = "Embrace Android SDK: API" | ||
|
||
android { | ||
namespace = "io.embrace.android.embracesdk.api" | ||
} | ||
|
||
dependencies { | ||
compileOnly(platform(libs.opentelemetry.bom)) | ||
compileOnly(libs.opentelemetry.api) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.5.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.1)" variant="all" version="8.5.1"> | ||
|
||
<issue | ||
id="EmbracePublicApiPackageRule" | ||
message="Don't put classes in the io.embrace.android.embracesdk package unless they're part of the public API. Please move the new class to an appropriate package or (if you're adding to the public API) suppress this error via the lint baseline file." | ||
errorLine1="public enum Severity {" | ||
errorLine2=" ~~~~~~~~"> | ||
<location | ||
file="src/main/java/io/embrace/android/embracesdk/Severity.java" | ||
line="6" | ||
column="13"/> | ||
</issue> | ||
|
||
</issues> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
include( | ||
":embrace-android-api", | ||
":embrace-android-sdk", | ||
":embrace-android-core", | ||
":embrace-android-features", | ||
|