12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- plugins {
- id 'com.android.library'
- id 'kotlin-android'
- id 'kotlin-kapt'
- id 'org.greenrobot.greendao'
- }
- android {
- compileSdkVersion 34
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 34
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- kapt {
- arguments {
- arg("AROUTER_MODULE_NAME", project.getName())
- }
- }
- }
- 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'
- }
- buildFeatures{
- viewBinding = true
- }
- }
- greendao {
- schemaVersion 1
- targetGenDir 'src/main/java'
- daoPackage 'com.swago.room.database'
- }
- dependencies {
- implementation 'androidx.core:core-ktx:1.5.0'
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.3.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- implementation project(':tuikit')
- implementation project(path: ':baseswago')
- kapt "com.alibaba:arouter-compiler:1.2.2"
- //声网采集
- implementation(name:'video-capture', ext:'aar')
- //filedownload
- api 'com.liulishuo.okdownload:okdownload:1.0.7'
- }
|