11apply plugin : ' com.android.application'
2+ apply plugin : ' kotlin-android'
23
34// 获取时间戳
45def getDate () {
@@ -8,14 +9,14 @@ def getDate() {
89}
910
1011android {
11- compileSdkVersion rootProject . ext . compileSdkVersion
12- buildToolsVersion rootProject . ext . buildToolsVersion
12+ compileSdkVersion App . compileSdkVersion
13+ buildToolsVersion App . buildToolsVersion
1314 defaultConfig {
14- applicationId " org.ninetripods.mq.study "
15- minSdkVersion rootProject . ext . minSdkVersion
16- targetSdkVersion rootProject . ext . targetSdkVersion
17- versionCode rootProject . ext . versionCode
18- versionName rootProject . ext . versionName
15+ applicationId App . appId
16+ minSdkVersion App . minSdkVersion
17+ targetSdkVersion App . targetSdkVersion
18+ versionCode App . versionCode
19+ versionName App . versionName
1920 vectorDrawables. useSupportLibrary = true
2021 buildConfigField " boolean" , " IS_SHOW_LOG" , " false"
2122 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
@@ -96,10 +97,11 @@ android {
9697}
9798
9899dependencies {
99- implementation ' com.google.android.material:material:1.0.0'
100- implementation ' androidx.appcompat:appcompat:1.2.0'
101- implementation ' androidx.recyclerview:recyclerview:1.0.0'
102- implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
100+ implementation Deps . kotlinStdlib
101+ implementation Deps . androidx_material
102+ implementation Deps . androidx_appcompat
103+ implementation Deps . androidx_recyclerView
104+ implementation Deps . androidx_constraintLayout
103105 implementation ' androidx.legacy:legacy-support-v4:1.0.0'
104106
105107 // 汉字转拼音,通讯录 https://github.com/promeG/TinyPinyin
@@ -108,5 +110,6 @@ dependencies {
108110 implementation ' com.github.promeg:tinypinyin:2.0.3'
109111 implementation ' com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3'
110112 api project(' :lib_dialog' )
113+ // implementation 'com.ninetripods:lib-dialog:1.1.0'
111114 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
112115}
0 commit comments