11apply plugin : ' com.android.application'
22apply plugin : ' kotlin-android'
3- apply plugin : ' kotlin-android-extensions'
43apply plugin : ' android-junk-code'
54apply plugin : ' com.getkeepsafe.dexcount'
65apply plugin : ' kotlin-kapt'
76
87android {
9- compileSdkVersion 29
8+ compileSdkVersion 30
109
1110 defaultConfig {
1211 applicationId " cn.hx.plugin.junkcode.demo"
1312 minSdkVersion 16
14- targetSdkVersion 29
13+ targetSdkVersion 30
1514 versionCode 1
1615 versionName " 1.0"
1716 multiDexEnabled true
1817 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1918 }
2019 buildFeatures {
2120 dataBinding = true
21+ viewBinding = true
2222 }
2323 buildTypes {
2424 release {
@@ -54,28 +54,11 @@ dependencies {
5454 implementation fileTree(dir : " libs" , include : [" *.jar" ])
5555 implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
5656 implementation ' androidx.multidex:multidex:2.0.1'
57- implementation ' androidx.core:core-ktx:1.3.2 '
58- implementation ' androidx.appcompat:appcompat:1.2 .0'
57+ implementation ' androidx.core:core-ktx:1.5.0 '
58+ implementation ' androidx.appcompat:appcompat:1.3 .0'
5959 implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
60- testImplementation ' junit:junit:4.13.1 '
60+ testImplementation ' junit:junit:4.13.2 '
6161 androidTestImplementation ' androidx.test.ext:junit:1.1.2'
6262 androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0'
6363
64- }
65-
66-
67- //
68- // afterEvaluate {
69- // project.tasks.all { task ->
70- // task.doLast {
71- // task.inputs.files.each { fileTemp ->
72- // println 'input file:' + fileTemp.absolutePath
73- // }
74- //
75- // println '---------------------------------------------------'
76- // task.outputs.files.each { fileTemp ->
77- // println 'output file:' + fileTemp.absolutePath
78- // }
79- // }
80- // }
81- // }
64+ }
0 commit comments