Skip to content

Commit

Permalink
chore: minor cleanups (#177)
Browse files Browse the repository at this point in the history
* chore: remove unused dep

* chore: stop generating unused BuildConfig
  • Loading branch information
nicklasl authored Jul 9, 2024
1 parent 111e8bd commit 8950ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
8 changes: 0 additions & 8 deletions Provider/api/Provider.api
Original file line number Diff line number Diff line change
@@ -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 <init> ()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 <init> (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
Expand Down
5 changes: 2 additions & 3 deletions Provider/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ android {
version = providerVersion

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

buildConfigField("String", "SDK_VERSION", "\"" + providerVersion + "\"")
}

compileOptions {
Expand All @@ -48,6 +46,8 @@ android {
withSourcesJar()
}
}

buildFeatures.buildConfig = false
}

dependencies {
Expand All @@ -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}")
Expand Down

0 comments on commit 8950ffc

Please sign in to comment.