apply plugin: "com.android.application" apply plugin: "kotlin-android" apply plugin: "kotlin-kapt" apply plugin: 'kotlinx-serialization' android { compileSdkVersion 33 signingConfigs { signed { storeFile file("../signed") storePassword "s73dfyUxkjuq" keyAlias "key0" keyPassword "s73dfyUxkjuq" } } defaultConfig { applicationId "com.drake.net.sample" minSdkVersion 19 targetSdkVersion 33 versionCode 1 multiDexEnabled true versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" signingConfig signingConfigs.signed } buildTypes { release { minifyEnabled true 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 } applicationVariants.all { it.outputs.each { output -> output.outputFileName = "net-sample.apk" } } } dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) testImplementation "junit:junit:4.13.2" androidTestImplementation "androidx.test:runner:1.3.0" androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0" implementation "androidx.appcompat:appcompat:1.6.1" implementation "androidx.core:core-ktx:1.9.0" implementation "androidx.constraintlayout:constraintlayout:2.0.4" implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation "androidx.recyclerview:recyclerview:1.2.0" implementation "com.google.android.material:material:1.3.0" implementation project(path: ":net") implementation "com.squareup.okhttp3:okhttp:$okhttp_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version" implementation "com.github.chuckerteam.chucker:library:3.5.2" implementation 'com.github.liangjingkanji:Engine:0.0.74' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.12' }