|
|
@@ -1,69 +1,69 @@
|
|
|
-apply plugin: 'com.android.library'
|
|
|
-apply plugin: 'kotlin-android'
|
|
|
-apply plugin: 'kotlin-android-extensions'
|
|
|
-apply plugin: 'kotlin-kapt'
|
|
|
-
|
|
|
-android {
|
|
|
- compileSdkVersion 29
|
|
|
- buildToolsVersion "29.0.3"
|
|
|
- buildFeatures{
|
|
|
- dataBinding=true
|
|
|
- }
|
|
|
- defaultConfig {
|
|
|
- minSdkVersion 21
|
|
|
- targetSdkVersion 29
|
|
|
- versionCode 13
|
|
|
- versionName "1.0"
|
|
|
-
|
|
|
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
- consumerProguardFiles 'consumer-rules.pro'
|
|
|
- }
|
|
|
-
|
|
|
- buildTypes {
|
|
|
- release {
|
|
|
- minifyEnabled false
|
|
|
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
- }
|
|
|
- }
|
|
|
- compileOptions {
|
|
|
- sourceCompatibility = "1.8"
|
|
|
- targetCompatibility = "1.8"
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-dependencies {
|
|
|
- implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
- implementation project(path: ':sparklib')
|
|
|
- implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
- implementation 'com.google.android.material:material:1.2.0'
|
|
|
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
- implementation 'androidx.navigation:navigation-fragment:2.3.0'
|
|
|
- implementation 'androidx.navigation:navigation-ui:2.3.0'
|
|
|
-
|
|
|
-
|
|
|
- testImplementation 'junit:junit:4.12'
|
|
|
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
-
|
|
|
- //androidx项目XUI
|
|
|
- implementation 'com.github.xuexiangjys:XUI:1.1.4'
|
|
|
-
|
|
|
- implementation 'com.github.xuexiangjys:XUI:1.1.4'
|
|
|
-
|
|
|
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
- implementation 'com.google.android.material:material:1.3.0-alpha02'
|
|
|
- implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
- //Butterknife
|
|
|
- implementation 'com.jakewharton:butterknife:10.2.1'
|
|
|
- implementation 'com.yanzhenjie.nohttp:nohttp:1.1.11'
|
|
|
-
|
|
|
- implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
|
|
|
- implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
|
|
|
-
|
|
|
- //列表侧滑菜单
|
|
|
- implementation 'com.yanzhenjie.recyclerview:support:1.3.2'
|
|
|
-
|
|
|
-}
|
|
|
+apply plugin: 'com.android.library'
|
|
|
+apply plugin: 'kotlin-android'
|
|
|
+apply plugin: 'kotlin-android-extensions'
|
|
|
+apply plugin: 'kotlin-kapt'
|
|
|
+
|
|
|
+android {
|
|
|
+ compileSdkVersion 29
|
|
|
+ buildToolsVersion "29.0.3"
|
|
|
+ buildFeatures{
|
|
|
+ dataBinding=true
|
|
|
+ }
|
|
|
+ defaultConfig {
|
|
|
+ minSdkVersion 21
|
|
|
+ targetSdkVersion 29
|
|
|
+ versionCode 13
|
|
|
+ versionName "1.0"
|
|
|
+
|
|
|
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
+ consumerProguardFiles 'consumer-rules.pro'
|
|
|
+ }
|
|
|
+
|
|
|
+ buildTypes {
|
|
|
+ release {
|
|
|
+ minifyEnabled false
|
|
|
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ compileOptions {
|
|
|
+ sourceCompatibility = "1.8"
|
|
|
+ targetCompatibility = "1.8"
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+dependencies {
|
|
|
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
+ implementation project(path: ':sparklib')
|
|
|
+ implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
+ implementation 'com.google.android.material:material:1.2.0'
|
|
|
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
+ implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
+ implementation 'androidx.navigation:navigation-fragment:2.3.0'
|
|
|
+ implementation 'androidx.navigation:navigation-ui:2.3.0'
|
|
|
+
|
|
|
+
|
|
|
+ testImplementation 'junit:junit:4.12'
|
|
|
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
+
|
|
|
+ //androidx项目XUI
|
|
|
+ implementation 'com.github.xuexiangjys:XUI:1.1.4'
|
|
|
+
|
|
|
+ implementation 'com.github.xuexiangjys:XUI:1.1.4'
|
|
|
+
|
|
|
+ implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
|
|
+ implementation 'com.google.android.material:material:1.3.0-alpha02'
|
|
|
+ implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
+ //Butterknife
|
|
|
+ implementation 'com.jakewharton:butterknife:10.2.1'
|
|
|
+ implementation 'com.yanzhenjie.nohttp:nohttp:1.1.11'
|
|
|
+
|
|
|
+ implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
|
|
|
+ implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
|
|
|
+
|
|
|
+ //列表侧滑菜单
|
|
|
+ implementation 'com.yanzhenjie.recyclerview:support:1.3.2'
|
|
|
+
|
|
|
+}
|