1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- plugins {
- id 'com.android.library'
- id 'kotlin-android'
- id 'kotlin-kapt'
- }
- android {
- compileSdkVersion rootProject.ext.compileSdkVersion
- defaultConfig {
- minSdkVersion rootProject.ext.minSdkVersion
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- javaCompileOptions {
- annotationProcessorOptions {
- arguments += [
- "room.schemaLocation": "$projectDir/schemas".toString()
- ]
- }
- }
- }
- buildFeatures {
- viewBinding true
- }
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility 1.8
- targetCompatibility 1.8
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- api 'com.tencent.liteav:LiteAVSDK_Player:latest.release'
- implementation 'androidx.appcompat:appcompat:1.4.2'
- implementation 'androidx.recyclerview:recyclerview:1.2.1'
- api 'com.github.bumptech.glide:glide:4.12.0'
- implementation 'androidx.exifinterface:exifinterface:1.3.3'
- api 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation("org.greenrobot:eventbus:3.3.1")
- def room_version = "2.4.0"
- implementation "androidx.room:room-runtime:$room_version"
- kapt "androidx.room:room-compiler:$room_version"
- implementation("androidx.room:room-ktx:$room_version")
- implementation "androidx.core:core-ktx:1.7.0"
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0'
- }
|