This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-android/devkit/build.gradle

43 lines
1.2 KiB
Groovy
Raw Normal View History

2019-12-04 14:11:47 +08:00
apply plugin: 'com.android.library'
android {
2020-08-03 12:02:36 +08:00
compileSdkVersion 30
buildToolsVersion "30.0.1"
2019-12-04 14:11:47 +08:00
defaultConfig {
2021-11-04 16:29:17 +08:00
minSdkVersion 21
2020-08-03 12:02:36 +08:00
targetSdkVersion 30
2019-12-04 14:11:47 +08:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2019-12-04 18:58:28 +08:00
implementation "pub.doric:core:${rootProject.ext.Version}"
2019-12-04 14:11:47 +08:00
implementation 'androidx.appcompat:appcompat:1.1.0'
2020-06-03 11:51:21 +08:00
implementation "com.google.android.material:material:1.1.0"
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
2020-06-03 11:51:21 +08:00
testImplementation 'junit:junit:4.13'
2019-12-04 14:11:47 +08:00
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
2020-06-03 11:51:21 +08:00
implementation 'com.google.zxing:core:3.4.0'
2020-05-15 15:38:47 +08:00
implementation 'com.google.zxing:android-core:3.3.0'
2019-12-04 14:11:47 +08:00
}
2021-02-26 19:19:31 +08:00
if (new File("scripts/upload.gradle").exists()) {
apply from: rootProject.file('scripts/upload.gradle')
}