mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-10 16:01:16 +01:00
58 lines
1.6 KiB
Groovy
58 lines
1.6 KiB
Groovy
//noinspection GradleCompatible
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "net.foucry.pilldroid"
|
|
minSdkVersion defaultMinSdkVersion
|
|
targetSdkVersion defaultTargetSdkVersion
|
|
versionCode defaultVersionCode1
|
|
versionName "1.0"
|
|
applicationIdSuffix = 'alpha'
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
//proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
productFlavors {
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
/*dexOptions {
|
|
incremental false
|
|
}*/
|
|
buildToolsVersion = buildToolsVersion1
|
|
allprojects {
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
exclude 'net/foucry/pilldroid/scanActivity.java'
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
testImplementation 'junit:junit:4.13'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'com.journeyapps:zxing-android-embedded:4.1.0'
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
}
|