diff --git a/app/build.gradle b/app/build.gradle index 08d37827..9df17323 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,12 +45,12 @@ android { abortOnError true } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() - languageVersion = "1.7" + jvmTarget = JavaVersion.VERSION_17.toString() + languageVersion = "1.8" } testOptions { unitTests.all { diff --git a/contactsbackup/build.gradle b/contactsbackup/build.gradle index a3d885a2..c00a4b40 100644 --- a/contactsbackup/build.gradle +++ b/contactsbackup/build.gradle @@ -22,12 +22,12 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + jvmTarget = JavaVersion.VERSION_17.toString() } testOptions { diff --git a/storage/demo/build.gradle b/storage/demo/build.gradle index ead579ac..130a49d6 100644 --- a/storage/demo/build.gradle +++ b/storage/demo/build.gradle @@ -32,11 +32,11 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() + jvmTarget = JavaVersion.VERSION_17.toString() freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn" } lint { diff --git a/storage/lib/build.gradle b/storage/lib/build.gradle index 861ca2ab..447b2849 100644 --- a/storage/lib/build.gradle +++ b/storage/lib/build.gradle @@ -33,12 +33,12 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_11.toString() - languageVersion = "1.7" + jvmTarget = JavaVersion.VERSION_17.toString() + languageVersion = "1.8" freeCompilerArgs += '-opt-in=kotlin.RequiresOptIn' freeCompilerArgs += '-Xexplicit-api=strict' }