diff --git a/build.gradle b/build.gradle index adf51f03..04bbf1f2 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ allprojects{ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { - freeCompilerArgs = ['-Xjvm-default=enable'] + freeCompilerArgs = ['-Xjvm-default=all'] jvmTarget = "1.8" } } diff --git a/samples/java-android-app/src/main/java/com/amplitude/android/sample/MainApplication.java b/samples/java-android-app/src/main/java/com/amplitude/android/sample/MainApplication.java index bc41bf7a..50a85fbe 100644 --- a/samples/java-android-app/src/main/java/com/amplitude/android/sample/MainApplication.java +++ b/samples/java-android-app/src/main/java/com/amplitude/android/sample/MainApplication.java @@ -85,8 +85,4 @@ public BaseEvent execute(@NonNull BaseEvent event) { return event; } - @Override - public void teardown() { - // Clean up any resources from setup if necessary - } }