diff --git a/app/build.gradle b/app/build.gradle index bc7d56c1c..35c801701 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,10 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = "1.8" + jvmTarget = JavaVersion.VERSION_1_8.toString() + freeCompilerArgs += [ + '-Xjvm-default', 'all' + ] } buildFeatures { @@ -49,6 +52,6 @@ dependencies { implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.kyleduo.switchbutton:library:2.0.0' - implementation 'androidx.recyclerview:recyclerview:1.1.0' + implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" } diff --git a/library/build.gradle b/library/build.gradle index c59154eeb..303e97778 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -23,6 +23,13 @@ android { compileOptions { kotlinOptions.freeCompilerArgs += ['-module-name', "com.github.CymChad.brvah"] } + kotlinOptions { + jvmTarget = JavaVersion.VERSION_1_8.toString() + freeCompilerArgs += [ + '-Xjvm-default', 'all' + ] + } + lintOptions { abortOnError false