123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apply plugin: "com.android.application"
- apply plugin: "kotlin-android"
- apply plugin: "kotlin-android-extensions"
- apply plugin: "kotlin-kapt"
- android {
- compileSdkVersion 30
- defaultConfig {
- applicationId "com.drake.net.sample"
- minSdkVersion 19
- targetSdkVersion 30
- versionCode 1
- multiDexEnabled true
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
- }
- }
- dataBinding {
- enabled = true
- }
- kotlinOptions {
- jvmTarget = JavaVersion.VERSION_1_8
- }
- 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"
- implementation "androidx.appcompat:appcompat:1.2.0"
- implementation "androidx.core:core-ktx:1.3.2"
- implementation "androidx.constraintlayout:constraintlayout:2.0.4"
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- testImplementation "junit:junit:4.13.2"
- androidTestImplementation "androidx.test:runner:1.3.0"
- androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
- implementation "androidx.recyclerview:recyclerview:1.1.0"
- implementation "com.google.android.material:material:1.3.0"
- implementation 'androidx.navigation:navigation-fragment-ktx:2.3.4'
- implementation 'androidx.navigation:navigation-ui-ktx:2.3.4'
- implementation project(path: ":net")
-
- implementation "com.github.liangjingkanji:BRV:$brv_version"
- implementation "com.github.bumptech.glide:glide:$glide_version"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version"
- implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
-
- implementation "com.squareup.moshi:moshi-kotlin:1.8.0"
- kapt "com.squareup.moshi:moshi-kotlin-codegen:1.8.0"
- implementation 'com.google.code.gson:gson:2.8.6'
- implementation 'com.alibaba:fastjson:1.2.48'
-
- implementation 'com.github.liangjingkanji:StatusBar:1.1.0'
- implementation 'com.github.liangjingkanji:debugkit:1.2.10'
- implementation 'com.github.liangjingkanji:Tooltip:1.1.0'
-
- implementation "androidx.room:room-runtime:$room_version"
- kapt "androidx.room:room-compiler:$room_version"
- implementation "androidx.room:room-ktx:$room_version"
- }
|