From 03a3c3e510c24f3809c6ecd7c3ab3853ff969b7f Mon Sep 17 00:00:00 2001 From: Benjamin Halko Date: Tue, 17 Oct 2023 15:55:21 -0700 Subject: [PATCH] add compile options --- android/build.gradle | 4 ++++ example/android/build.gradle | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1c9e32d..e1028d5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,6 +27,10 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 28 + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } sourceSets { main.java.srcDirs += 'src/main/kotlin' } diff --git a/example/android/build.gradle b/example/android/build.gradle index 205028b..5f4bf4c 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -21,10 +21,6 @@ allprojects { } } -android { - namespace 'com.zaihui.installpluginexample' -} - rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}"