Skip to content

Commit 59bb31d

Browse files
committed
self review
1 parent 37f04ac commit 59bb31d

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

e2e/android/app/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ android {
2828
}
2929
}
3030
compileOptions {
31-
// isCoreLibraryDesugaringEnabled = true
3231
sourceCompatibility = JavaVersion.VERSION_11
3332
targetCompatibility = JavaVersion.VERSION_11
3433
}
@@ -69,8 +68,4 @@ dependencies {
6968
androidTestImplementation(libs.androidx.ui.test.junit4)
7069
debugImplementation(libs.androidx.ui.tooling)
7170
debugImplementation(libs.androidx.ui.test.manifest)
72-
73-
// This is required to use the launchdarkly-observability-android package that uses desugaring
74-
// to support old Android API versions (back to 24 at time of writing this)
75-
// coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
7671
}

sdk/@launchdarkly/observability-android/lib/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ dependencies {
3737
// Use JUnit Jupiter for testing.
3838
testImplementation("org.junit.jupiter:junit-jupiter")
3939
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
40-
41-
// This was added to support using newer types on older versions of Android.
42-
// Namely use of the Duration type which requires API 26 and minSDK at
43-
// time of writing is 24.
44-
// coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
4540
}
4641

4742
val releaseVersion = version.toString()
@@ -67,7 +62,6 @@ android {
6762
}
6863
}
6964
compileOptions {
70-
// isCoreLibraryDesugaringEnabled = true
7165
sourceCompatibility = JavaVersion.VERSION_1_8
7266
targetCompatibility = JavaVersion.VERSION_1_8
7367
}

sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/api/Options.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ data class Options(
4444
val disableMetrics: Boolean = false,
4545
val logAdapter: LDLogAdapter = LDTimberLogging.adapter(), // this follows the LaunchDarkly SDK's default log adapter
4646
val loggerName: String = "LaunchDarklyObservabilityPlugin"
47-
)
47+
)

0 commit comments

Comments
 (0)