diff --git a/sentry-core/build.gradle.kts b/sentry-core/build.gradle.kts index a3bedfc95..47b32178b 100644 --- a/sentry-core/build.gradle.kts +++ b/sentry-core/build.gradle.kts @@ -9,6 +9,15 @@ plugins { id(Config.QualityPlugins.gradleVersions) } +configure { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + +tasks.withType().configureEach { + kotlinOptions.jvmTarget = "1.8" +} + dependencies { // Envelopes require JSON. Until a parse is done without GSON, we'll depend on it explicitly here implementation(Config.Libs.gson)