11apply plugin : ' com.android.library'
22apply plugin : ' kotlin-android'
3- apply plugin : ' kotlin-android-extensions '
3+ apply plugin : ' kotlin-parcelize '
44apply plugin : ' kotlin-kapt'
55apply plugin : ' com.jakewharton.butterknife'
66
77android {
8- compileSdkVersion 29
9- buildToolsVersion " 29.0.2"
10-
8+ compileSdkVersion 30
119
1210 defaultConfig {
1311 minSdkVersion 19
14- targetSdkVersion 29
12+ targetSdkVersion 30
1513 versionCode 1
1614 versionName " 1.0"
1715
@@ -26,27 +24,34 @@ android {
2624 }
2725 }
2826
27+ compileOptions {
28+ sourceCompatibility JavaVersion . VERSION_1_8
29+ targetCompatibility JavaVersion . VERSION_1_8
30+ }
31+
32+ kotlinOptions {
33+ jvmTarget = ' 1.8'
34+ }
2935}
3036
3137dependencies {
32- implementation fileTree(dir : ' libs' , include : [' *.jar' ])
3338 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
34- implementation ' androidx.appcompat:appcompat:1.1 .0'
35- implementation ' androidx.core:core-ktx:1.1.0 '
39+ implementation ' androidx.appcompat:appcompat:1.2 .0'
40+ implementation ' androidx.core:core-ktx:1.3.2 '
3641
3742 // Epoxy dependency
38- implementation( " com.airbnb.android:epoxy:$epoxy_version " )
43+ implementation " com.airbnb.android:epoxy:$epoxy_version "
3944 kapt " com.airbnb.android:epoxy-processor:$epoxy_version "
40- implementation ' com.airbnb.android:mvrx:1.3.0 '
45+ implementation ' com.airbnb.android:mvrx:1.5.1 '
4146 // Span utils
4247 implementation ' me.gujun.android:span:1.7'
43- implementation ' com.google.android.material:material:1.2 .0-alpha03 '
48+ implementation ' com.google.android.material:material:1.4 .0-alpha01 '
4449
45- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3 .2"
46- implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3 .2"
50+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4 .2"
51+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4 .2"
4752
4853 testImplementation ' org.json:json:20190722'
49- testImplementation ' junit:junit:4.12 '
50- androidTestImplementation ' androidx.test.ext:junit:1.1.0 '
51- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2 .0'
54+ testImplementation ' junit:junit:4.13.2 '
55+ androidTestImplementation ' androidx.test.ext:junit:1.1.2 '
56+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.3 .0'
5257}
0 commit comments