You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
|
|
applicationId rootProject.ext.android.applicationId
|
|
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
|
|
versionCode rootProject.ext.android.versionCode
|
|
|
|
versionName rootProject.ext.android.versionName
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
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 fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
testImplementation rootProject.ext.dependencies["junit"]
|
|
|
|
androidTestImplementation rootProject.ext.dependencies["runner"]
|
|
|
|
androidTestImplementation rootProject.ext.dependencies["espresso_core"]
|
|
|
|
implementation project(path: ':net_serivce')
|
|
|
|
implementation project(path: ':common_lib')
|
|
|
|
//注解
|
|
|
|
implementation "com.jakewharton:butterknife:10.0.0"
|
|
|
|
annotationProcessor "com.jakewharton:butterknife-compiler:10.0.0"
|
|
|
|
implementation 'com.allenliu.versionchecklib:library:2.2.0'
|
|
|
|
}
|