Pilldroid/app/build.gradle

60 lines
1.6 KiB
Groovy
Raw Normal View History

2018-09-27 19:16:52 +02:00
//noinspection GradleCompatible
apply plugin: 'com.android.application'
android {
2020-09-11 21:49:51 +02:00
compileSdkVersion 29
defaultConfig {
applicationId "net.foucry.pilldroid"
2020-05-11 20:49:29 +02:00
minSdkVersion defaultMinSdkVersion
targetSdkVersion defaultTargetSdkVersion
versionCode defaultVersionCode1
versionName "1.0"
2020-05-11 20:49:29 +02:00
applicationIdSuffix = 'alpha'
}
buildTypes {
release {
minifyEnabled false
//proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
2016-11-01 23:17:06 +01:00
productFlavors {
}
2018-09-27 19:16:52 +02:00
compileOptions {
2020-04-12 19:57:10 +02:00
sourceCompatibility JavaVersion.VERSION_1_8
2018-09-27 19:16:52 +02:00
targetCompatibility JavaVersion.VERSION_1_8
}
2019-09-18 23:01:42 +02:00
/*dexOptions {
2019-09-12 18:39:03 +02:00
incremental false
2019-09-18 23:01:42 +02:00
}*/
2020-04-12 19:57:10 +02:00
buildToolsVersion = buildToolsVersion1
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
2020-05-16 19:47:21 +02:00
repositories {
jcenter()
}
2020-05-18 19:08:48 +02:00
sourceSets {
main {
java {
exclude 'net/foucry/pilldroid/scanActivity.java'
}
}
}
dependencies {
2019-09-18 23:01:42 +02:00
implementation fileTree(include: ['*.jar'], dir: 'libs')
2020-04-12 19:57:10 +02:00
testImplementation 'junit:junit:4.13'
2020-05-11 20:49:29 +02:00
2020-09-11 11:28:10 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.google.android.material:material:1.2.0'
2020-05-16 19:47:21 +02:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-05-11 20:49:29 +02:00
2020-05-16 19:47:21 +02:00
implementation 'com.journeyapps:zxing-android-embedded:4.1.0'
2020-09-11 11:28:10 +02:00
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "com.android.support:support-compat:28.0.0"
}