diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index a6f458d..2442f01 100644 --- a/build.gradle +++ b/build.gradle @@ -4,9 +4,9 @@ import foundation.e.privacycentral.buildsrc.ReleaseType // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext.buildConfig = [ - 'compileSdk': 29, + 'compileSdk': 31, 'minSdk' : 26, - 'targetSdk' : 29, + 'targetSdk' : 30, 'version' : [ 'major': 1, 'minor': 1, @@ -31,7 +31,7 @@ buildscript { dependencies { classpath Libs.androidGradlePlugin - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -44,6 +44,16 @@ plugins { } allprojects { + //Support @JvmDefault, and @OptIn + tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { + kotlinOptions { + freeCompilerArgs = ['-Xjvm-default=enable', '-opt-in=kotlin.RequiresOptIn'] + + + jvmTarget = "1.8" + } + } + repositories { google() mavenCentral() |