1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.2"
- defaultConfig {
- applicationId "com.drake.net.sample"
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.core:core-ktx:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- implementation project(path: ':net')
- implementation 'com.squareup.moshi:moshi-kotlin:1.8.0'
- kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0'
- implementation 'com.github.liangjingkanji:BRV:1.1.2'
- implementation 'com.scwang.smart:refresh-header-classics:2.0.0-alpha-1'
- implementation 'com.scwang.smart:refresh-footer-classics:2.0.0-alpha-1'
- implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- implementation 'com.github.liangjingkanji:debugkit:1.2.9'
- implementation 'com.github.bumptech.glide:glide:4.9.0'
- }
|