Bump JavaVersion to 8
MODIFY
leakcanary-object-watcher/build.gradle
leakcanary-object-watcher/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
implementation deps.kotlin.stdlib

MODIFY
shark-android/build.gradle
shark-android/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
api project(':shark')

MODIFY
shark-graph/build.gradle
shark-graph/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
api project(':shark-hprof')

MODIFY
shark-hprof-test/build.gradle
shark-hprof-test/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
implementation deps.kotlin.stdlib

MODIFY
shark-hprof/build.gradle
shark-hprof/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
api project(':shark-log')

MODIFY
shark-log/build.gradle
shark-log/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
implementation deps.kotlin.stdlib

MODIFY
shark-test/build.gradle
shark-test/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
implementation deps.kotlin.stdlib

MODIFY
shark/build.gradle
shark/build.gradle
@@ -2,8 +2,8 @@ plugins {
id("org.jetbrains.kotlin.jvm")
}
-sourceCompatibility = JavaVersion.VERSION_1_7
-targetCompatibility = JavaVersion.VERSION_1_7
+sourceCompatibility = JavaVersion.VERSION_1_8
+targetCompatibility = JavaVersion.VERSION_1_8
dependencies {
api project(':shark-graph')

Bump JavaVersion to 8