plugins {
|
id 'com.android.library'
|
}
|
|
android {
|
compileSdkVersion 28
|
buildToolsVersion "28.0.3"
|
|
defaultConfig {
|
minSdkVersion 17
|
targetSdkVersion 28
|
versionCode 1
|
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 JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
}
|
}
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation 'com.google.android.material:material:1.1.0'
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
|
implementation project(path: ':library-common')
|
testImplementation 'junit:junit:4.+'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
api 'com.tencent.tbs:tbssdk:44286'
|
|
|
|
}
|