From 8950ffcedf4ae0a6015fe1d89f8869caae1955b6 Mon Sep 17 00:00:00 2001 From: Nicklas Lundin Date: Tue, 9 Jul 2024 09:39:41 +0200 Subject: [PATCH] chore: minor cleanups (#177) * chore: remove unused dep * chore: stop generating unused BuildConfig --- Provider/api/Provider.api | 8 -------- Provider/build.gradle.kts | 5 ++--- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Provider/api/Provider.api b/Provider/api/Provider.api index 0d8e50b7..fc69a285 100644 --- a/Provider/api/Provider.api +++ b/Provider/api/Provider.api @@ -1,11 +1,3 @@ -public final class com/spotify/confidence/openfeature/BuildConfig { - public static final field BUILD_TYPE Ljava/lang/String; - public static final field DEBUG Z - public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String; - public static final field SDK_VERSION Ljava/lang/String; - public fun ()V -} - public final class com/spotify/confidence/openfeature/ConfidenceFeatureProvider : dev/openfeature/sdk/FeatureProvider { public static final field Companion Lcom/spotify/confidence/openfeature/ConfidenceFeatureProvider$Companion; public synthetic fun (Ljava/util/List;Ldev/openfeature/sdk/ProviderMetadata;Lcom/spotify/confidence/openfeature/InitialisationStrategy;Ldev/openfeature/sdk/events/EventHandler;Lcom/spotify/confidence/Confidence;Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/jvm/internal/DefaultConstructorMarker;)V diff --git a/Provider/build.gradle.kts b/Provider/build.gradle.kts index 035f0de0..5dcb63da 100644 --- a/Provider/build.gradle.kts +++ b/Provider/build.gradle.kts @@ -30,8 +30,6 @@ android { version = providerVersion testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" - - buildConfigField("String", "SDK_VERSION", "\"" + providerVersion + "\"") } compileOptions { @@ -48,6 +46,8 @@ android { withSourcesJar() } } + + buildFeatures.buildConfig = false } dependencies { @@ -56,7 +56,6 @@ dependencies { implementation( "org.jetbrains.kotlinx:kotlinx-serialization-json:${Versions.kotlinxSerialization}" ) - implementation("androidx.lifecycle:lifecycle-process:2.6.1") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.coroutines}") api(project(":Confidence")) testImplementation("junit:junit:${Versions.junit}")