From 80fc9e9db667db71f3077bbd1f268e18f6913127 Mon Sep 17 00:00:00 2001 From: Oguz Kocer Date: Fri, 28 May 2021 12:59:45 -0400 Subject: [PATCH] Set java compatibility to java 8 --- Cargo.toml | 2 +- gradle-plugin/configure/build.gradle.kts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f503e46..d061bee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "configure" -version = "0.6.0" +version = "0.6.1" authors = ["Jeremy Massel "] edition = "2018" diff --git a/gradle-plugin/configure/build.gradle.kts b/gradle-plugin/configure/build.gradle.kts index 0c67d47..104fe16 100644 --- a/gradle-plugin/configure/build.gradle.kts +++ b/gradle-plugin/configure/build.gradle.kts @@ -2,7 +2,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile /// The plugin version number – change this to match whatever your tag will be group = "com.automattic.android" -version = "0.6.0" +version = "0.6.1" buildscript { repositories { @@ -28,6 +28,11 @@ repositories { jcenter() } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + /// Don't allow warnings in the project – this can prevent us from shipping a broken build tasks.withType { kotlinOptions.allWarningsAsErrors = true