diff --git a/library/build.gradle b/library/build.gradle index ca079f3..45f3158 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -23,12 +23,12 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.toString() + jvmTarget = JavaVersion.VERSION_11.toString() } } diff --git a/sample/build.gradle b/sample/build.gradle index 0286c8a..2603ede 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -12,8 +12,11 @@ android { applicationId = "com.transferwise.sequencelayout.sample" } compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 + } + kotlinOptions { + jvmTarget = JavaVersion.VERSION_11.toString() } }