mirror of
https://github.com/easychen/pushdeer.git
synced 2024-11-15 06:49:24 +08:00
56 lines
1.5 KiB
Groovy
56 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 31
|
|
|
|
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'
|
|
}
|
|
compileSdkVersion 31
|
|
buildToolsVersion '31.0.0'
|
|
ndkVersion '23.0.7599858'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
// https://mvnrepository.com/artifact/com.alibaba/fastjson
|
|
implementation 'com.alibaba:fastjson:1.2.78'
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.2")
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
|
|
// qr
|
|
implementation 'com.google.zxing:core:3.2.1'
|
|
implementation 'cn.bingoogolapple:bga-qrcodecore:1.1.7@aar'
|
|
implementation 'cn.bingoogolapple:bga-zxing:1.1.7@aar'
|
|
} |