diff --git a/build.gradle.kts b/build.gradle.kts index 637edf2304..6be6bf0081 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,6 +37,21 @@ buildscript { } } +apiValidation { + ignoredProjects.addAll(listOf( + "sentry-samples-android", + "sentry-samples-console", + "sentry-samples-jul", + "sentry-samples-log4j2", + "sentry-samples-logback", + "sentry-samples-openfeign", + "sentry-samples-servlet", + "sentry-samples-spring", + "sentry-samples-spring-boot", + "sentry-samples-spring-boot-webflux" + )) +} + allprojects { repositories { google() diff --git a/sentry-samples/sentry-samples-android/api/sentry-samples-android.api b/sentry-samples/sentry-samples-android/api/sentry-samples-android.api deleted file mode 100644 index cfe5e245eb..0000000000 --- a/sentry-samples/sentry-samples-android/api/sentry-samples-android.api +++ /dev/null @@ -1,145 +0,0 @@ -public final class io/sentry/samples/android/BuildConfig { - public static final field APPLICATION_ID Ljava/lang/String; - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field VERSION_CODE I - public static final field VERSION_NAME Ljava/lang/String; - public fun ()V -} - -public abstract interface class io/sentry/samples/android/GitHubService { - public abstract fun listRepos (Ljava/lang/String;)Lretrofit2/Call; -} - -public final class io/sentry/samples/android/GithubAPI { - public static final field INSTANCE Lio/sentry/samples/android/GithubAPI; - public final fun getService ()Lio/sentry/samples/android/GitHubService; -} - -public class io/sentry/samples/android/MainActivity : androidx/appcompat/app/AppCompatActivity { - public fun ()V - protected fun onCreate (Landroid/os/Bundle;)V - protected fun onResume ()V -} - -public class io/sentry/samples/android/MyApplication : android/app/Application { - public fun ()V - public fun onCreate ()V -} - -public class io/sentry/samples/android/NativeSample { - public fun ()V - public static fun crash ()V - public static fun message ()V -} - -public final class io/sentry/samples/android/Repo { - public fun ()V -} - -public final class io/sentry/samples/android/SampleFragment : androidx/fragment/app/DialogFragment { - public static final field Companion Lio/sentry/samples/android/SampleFragment$Companion; - public fun ()V - public static final fun newInstance ()Lio/sentry/samples/android/SampleFragment; - public fun onCreateView (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; -} - -public final class io/sentry/samples/android/SampleFragment$Companion { - public final fun newInstance ()Lio/sentry/samples/android/SampleFragment; -} - -public final class io/sentry/samples/android/SampleInnerFragment : androidx/fragment/app/Fragment { - public static final field Companion Lio/sentry/samples/android/SampleInnerFragment$Companion; - public fun ()V - public static final fun newInstance ()Lio/sentry/samples/android/SampleInnerFragment; - public fun onCreateView (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View; -} - -public final class io/sentry/samples/android/SampleInnerFragment$Companion { - public final fun newInstance ()Lio/sentry/samples/android/SampleInnerFragment; -} - -public final class io/sentry/samples/android/SecondActivity : androidx/appcompat/app/AppCompatActivity { - public fun ()V -} - -public final class io/sentry/samples/android/ThirdActivityFragment : androidx/appcompat/app/AppCompatActivity { - public fun ()V -} - -public final class io/sentry/samples/android/ThirdFragment : androidx/fragment/app/Fragment { - public fun ()V - public fun onViewCreated (Landroid/view/View;Landroid/os/Bundle;)V -} - -public final class io/sentry/samples/android/databinding/ActivityMainBinding : androidx/viewbinding/ViewBinding { - public final field addAttachment Landroid/widget/Button; - public final field anr Landroid/widget/Button; - public final field breadcrumb Landroid/widget/Button; - public final field captureException Landroid/widget/Button; - public final field crashFromJava Landroid/widget/Button; - public final field nativeCapture Landroid/widget/Button; - public final field nativeCrash Landroid/widget/Button; - public final field openSampleFragment Landroid/widget/Button; - public final field openSecondActivity Landroid/widget/Button; - public final field openThirdFragment Landroid/widget/Button; - public final field sendMessage Landroid/widget/Button; - public final field sendUserFeedback Landroid/widget/Button; - public final field setUser Landroid/widget/Button; - public final field unsetUser Landroid/widget/Button; - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/ActivityMainBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/LinearLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/ActivityMainBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/ActivityMainBinding; -} - -public final class io/sentry/samples/android/databinding/ActivitySecondBinding : androidx/viewbinding/ViewBinding { - public final field backMain Landroid/widget/Button; - public final field doRequest Landroid/widget/Button; - public final field editRepo Landroid/widget/EditText; - public final field indeterminateBar Landroid/widget/ProgressBar; - public final field text Landroid/widget/TextView; - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/ActivitySecondBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/LinearLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/ActivitySecondBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/ActivitySecondBinding; -} - -public final class io/sentry/samples/android/databinding/ActivityThirdFragmentBinding : androidx/viewbinding/ViewBinding { - public final field container Landroid/widget/FrameLayout; - public final field fragmentContainerView Landroidx/fragment/app/FragmentContainerView; - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/ActivityThirdFragmentBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/FrameLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/ActivityThirdFragmentBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/ActivityThirdFragmentBinding; -} - -public final class io/sentry/samples/android/databinding/FragmentSampleBinding : androidx/viewbinding/ViewBinding { - public final field container Landroid/widget/FrameLayout; - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/FragmentSampleBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/FrameLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/FragmentSampleBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/FragmentSampleBinding; -} - -public final class io/sentry/samples/android/databinding/FragmentSampleInnerBinding : androidx/viewbinding/ViewBinding { - public final field sendMessage Landroid/widget/Button; - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/FragmentSampleInnerBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/FrameLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/FragmentSampleInnerBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/FragmentSampleInnerBinding; -} - -public final class io/sentry/samples/android/databinding/ThirdFragmentBinding : androidx/viewbinding/ViewBinding { - public static fun bind (Landroid/view/View;)Lio/sentry/samples/android/databinding/ThirdFragmentBinding; - public synthetic fun getRoot ()Landroid/view/View; - public fun getRoot ()Landroid/widget/LinearLayout; - public static fun inflate (Landroid/view/LayoutInflater;)Lio/sentry/samples/android/databinding/ThirdFragmentBinding; - public static fun inflate (Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Z)Lio/sentry/samples/android/databinding/ThirdFragmentBinding; -} - diff --git a/sentry-samples/sentry-samples-spring-boot-webflux/api/sentry-samples-spring-boot-webflux.api b/sentry-samples/sentry-samples-spring-boot-webflux/api/sentry-samples-spring-boot-webflux.api deleted file mode 100644 index a2d610dcce..0000000000 --- a/sentry-samples/sentry-samples-spring-boot-webflux/api/sentry-samples-spring-boot-webflux.api +++ /dev/null @@ -1,20 +0,0 @@ -public class io/sentry/samples/spring/boot/Person { - public fun (Ljava/lang/String;Ljava/lang/String;)V - public fun getFirstName ()Ljava/lang/String; - public fun getLastName ()Ljava/lang/String; - public fun toString ()Ljava/lang/String; -} - -public class io/sentry/samples/spring/boot/PersonController { - public fun (Lio/sentry/samples/spring/boot/PersonService;)V -} - -public class io/sentry/samples/spring/boot/PersonService { - public fun ()V -} - -public class io/sentry/samples/spring/boot/SentryDemoApplication { - public fun ()V - public static fun main ([Ljava/lang/String;)V -} - diff --git a/sentry-samples/sentry-samples-spring-boot/api/sentry-samples-spring-boot.api b/sentry-samples/sentry-samples-spring-boot/api/sentry-samples-spring-boot.api deleted file mode 100644 index b49e9355ac..0000000000 --- a/sentry-samples/sentry-samples-spring-boot/api/sentry-samples-spring-boot.api +++ /dev/null @@ -1,47 +0,0 @@ -public class io/sentry/samples/spring/boot/CustomEventProcessor : io/sentry/EventProcessor { - public fun ()V - public fun (Ljava/lang/String;Ljava/lang/String;)V - public fun process (Lio/sentry/SentryEvent;Ljava/lang/Object;)Lio/sentry/SentryEvent; -} - -public class io/sentry/samples/spring/boot/CustomJob { - public fun ()V -} - -public class io/sentry/samples/spring/boot/Person { - public fun (Ljava/lang/String;Ljava/lang/String;)V - public fun getFirstName ()Ljava/lang/String; - public fun getLastName ()Ljava/lang/String; - public fun toString ()Ljava/lang/String; -} - -public class io/sentry/samples/spring/boot/PersonController { - public fun (Lio/sentry/samples/spring/boot/PersonService;)V -} - -public class io/sentry/samples/spring/boot/PersonService { - public fun ()V -} - -public class io/sentry/samples/spring/boot/SecurityConfiguration : org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter { - public fun ()V - protected fun configure (Lorg/springframework/security/config/annotation/web/builders/HttpSecurity;)V - public fun userDetailsService ()Lorg/springframework/security/core/userdetails/UserDetailsService; -} - -public class io/sentry/samples/spring/boot/SentryDemoApplication { - public fun ()V - public static fun main ([Ljava/lang/String;)V -} - -public class io/sentry/samples/spring/boot/Todo { - public fun (Ljava/lang/Long;Ljava/lang/String;Z)V - public fun getId ()Ljava/lang/Long; - public fun getTitle ()Ljava/lang/String; - public fun isCompleted ()Z -} - -public class io/sentry/samples/spring/boot/TodoController { - public fun (Lorg/springframework/web/client/RestTemplate;Lorg/springframework/web/reactive/function/client/WebClient;)V -} - diff --git a/sentry-samples/sentry-samples-spring/api/sentry-samples-spring.api b/sentry-samples/sentry-samples-spring/api/sentry-samples-spring.api deleted file mode 100644 index 54873e3e36..0000000000 --- a/sentry-samples/sentry-samples-spring/api/sentry-samples-spring.api +++ /dev/null @@ -1,41 +0,0 @@ -public class io/sentry/samples/spring/AppConfig { - public fun ()V -} - -public class io/sentry/samples/spring/AppInitializer : org/springframework/web/servlet/support/AbstractAnnotationConfigDispatcherServletInitializer { - public fun ()V - protected fun getRootConfigClasses ()[Ljava/lang/Class; - protected fun getServletConfigClasses ()[Ljava/lang/Class; - protected fun getServletFilters ()[Ljavax/servlet/Filter; - protected fun getServletMappings ()[Ljava/lang/String; -} - -public class io/sentry/samples/spring/SecurityConfiguration : org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter { - public fun ()V - protected fun configure (Lorg/springframework/security/config/annotation/web/builders/HttpSecurity;)V - public fun userDetailsService ()Lorg/springframework/security/core/userdetails/UserDetailsService; -} - -public class io/sentry/samples/spring/SentryConfig { - public fun ()V -} - -public class io/sentry/samples/spring/WebConfig { - public fun ()V -} - -public class io/sentry/samples/spring/web/Person { - public fun (Ljava/lang/String;Ljava/lang/String;)V - public fun getFirstName ()Ljava/lang/String; - public fun getLastName ()Ljava/lang/String; - public fun toString ()Ljava/lang/String; -} - -public class io/sentry/samples/spring/web/PersonController { - public fun (Lio/sentry/samples/spring/web/PersonService;)V -} - -public class io/sentry/samples/spring/web/PersonService { - public fun (Lorg/springframework/web/client/RestTemplate;)V -} -