12345678910111213141516171819202122232425262728293031323334353637383940 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion rootProject.ext.compileSdkVersion
- buildToolsVersion rootProject.ext.buildToolsVersion
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- compileOnly 'androidx.appcompat:appcompat:1.2.0'
- compileOnly 'org.greenrobot:greendao:3.3.0'
- api 'com.google.code.gson:gson:2.8.6'
- api 'com.squareup.okhttp3:okhttp:3.10.0'
- api 'com.github.bumptech.glide:glide:4.11.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
- api 'org.greenrobot:eventbus:3.3.1' // 确保使用最新版本
- }
- //apply from: './javadoc.gradle'
|