Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Make JVM target explicit in sentry-core #462

Merged
merged 1 commit into from
Jun 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions sentry-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ plugins {
id(Config.QualityPlugins.gradleVersions)
}

configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().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)
Expand Down