Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate binary validator #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ buildscript {
}
}

plugins {
alias(libs.plugins.kotlin.binary.compatibility)
}

apiValidation {
ignoredProjects += ["sample"]
}

allprojects {

repositories {
Expand Down
7 changes: 5 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ collar = "1.4.0"
dbinspector = "5.4.9"
leakcanary = "2.11"
thimble = "1.0.1"

binaryCompatibility = "0.17.0"

[libraries]
library = { module = "com.infinum.sentinel:sentinel", version.ref = "sentinel" }
Expand Down Expand Up @@ -124,4 +124,7 @@ tools = [
"toolgoogleplay",
"toolthimble",
"tooltimber"
]
]

[plugins]
kotlin-binary-compatibility = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibility" }
134 changes: 134 additions & 0 deletions sentinel-no-op/api/sentinel-no-op.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
public final class com/infinum/sentinel/Sentinel {
public static final field INSTANCE Lcom/infinum/sentinel/Sentinel;
public static final fun setAnrListener (Lcom/infinum/sentinel/Sentinel$ApplicationNotRespondingListener;)V
public static final fun setExceptionHandler (Ljava/lang/Thread$UncaughtExceptionHandler;)V
public static final fun show ()V
public static final fun watch ()Lcom/infinum/sentinel/Sentinel;
public static final fun watch (Ljava/util/Set;)Lcom/infinum/sentinel/Sentinel;
public static synthetic fun watch$default (Ljava/util/Set;ILjava/lang/Object;)Lcom/infinum/sentinel/Sentinel;
}

public abstract interface class com/infinum/sentinel/Sentinel$AnalyticsTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public final class com/infinum/sentinel/Sentinel$ApplicationNotRespondingException : java/lang/Exception {
public fun <init> (Ljava/lang/Thread;)V
public final fun getThreadStateMap ()Ljava/lang/String;
}

public abstract interface class com/infinum/sentinel/Sentinel$ApplicationNotRespondingListener {
public abstract fun onAppNotResponding (Lcom/infinum/sentinel/Sentinel$ApplicationNotRespondingException;)V
}

public abstract interface class com/infinum/sentinel/Sentinel$BluetoothTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$DatabaseTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$DesignTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$DistributionTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$MemoryTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$NetworkTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$ReportTool : com/infinum/sentinel/Sentinel$Tool {
public fun name ()I
}

public abstract interface class com/infinum/sentinel/Sentinel$Tool {
public fun icon ()Ljava/lang/Integer;
public abstract fun listener ()Landroid/view/View$OnClickListener;
public abstract fun name ()I
}

public final class com/infinum/sentinel/SentinelInitializer : androidx/startup/Initializer {
public fun <init> ()V
public fun create (Landroid/content/Context;)Ljava/lang/Class;
public synthetic fun create (Landroid/content/Context;)Ljava/lang/Object;
public fun dependencies ()Ljava/util/List;
}

public final class com/infinum/sentinel/ui/tools/AppGalleryTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun <init> (Ljava/lang/String;)V
public fun <init> (Ljava/lang/String;Landroid/view/View$OnClickListener;)V
public synthetic fun <init> (Ljava/lang/String;Landroid/view/View$OnClickListener;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Ljava/lang/String;Landroid/view/View$OnClickListener;)Lcom/infinum/sentinel/ui/tools/AppGalleryTool;
public static synthetic fun copy$default (Lcom/infinum/sentinel/ui/tools/AppGalleryTool;Ljava/lang/String;Landroid/view/View$OnClickListener;ILjava/lang/Object;)Lcom/infinum/sentinel/ui/tools/AppGalleryTool;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
public fun toString ()Ljava/lang/String;
}

public final class com/infinum/sentinel/ui/tools/CertificateTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun <init> (Ljava/util/List;)V
public fun <init> (Ljava/util/List;Landroid/view/View$OnClickListener;)V
public synthetic fun <init> (Ljava/util/List;Landroid/view/View$OnClickListener;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Ljava/util/List;Landroid/view/View$OnClickListener;)Lcom/infinum/sentinel/ui/tools/CertificateTool;
public static synthetic fun copy$default (Lcom/infinum/sentinel/ui/tools/CertificateTool;Ljava/util/List;Landroid/view/View$OnClickListener;ILjava/lang/Object;)Lcom/infinum/sentinel/ui/tools/CertificateTool;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
public fun toString ()Ljava/lang/String;
}

public final class com/infinum/sentinel/ui/tools/ChuckerTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/CollarTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/DbInspectorTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/GooglePlayTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/LeakCanaryTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/ThimbleTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

public final class com/infinum/sentinel/ui/tools/TimberTool : com/infinum/sentinel/Sentinel$Tool {
public fun <init> ()V
public fun listener ()Landroid/view/View$OnClickListener;
public fun name ()I
}

Loading
Loading