12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- }
- android {
- compileSdk = rootProject.ext.compileSdkVersion
- buildToolsVersion rootProject.ext.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- dependencies {
- api project(':lib_common')
- implementation 'androidx.core:core-ktx:1.8.0'
- implementation 'androidx.appcompat:appcompat:1.5.0'
- implementation 'com.google.android.material:material:1.6.1'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- /*Kotlin*/
- api "androidx.core:core-ktx:1.8.0"
- api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3'
- api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.3'
- }
|