88 lines
2.6 KiB
Groovy
88 lines
2.6 KiB
Groovy
apply plugin: 'idea'
|
|
apply plugin: 'com.android.application'
|
|
|
|
ext {
|
|
appName = "Abit"
|
|
}
|
|
if (project.hasProperty("project.configs")
|
|
&& new File(project.property("project.configs") + appName + ".gradle").exists()) {
|
|
apply from: project.property("project.configs") + appName + ".gradle";
|
|
}
|
|
|
|
//noinspection GroovyMissingReturnStatement
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion "24.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "ch.dissem.apps." + appName.toLowerCase()
|
|
minSdkVersion 19
|
|
targetSdkVersion 24
|
|
versionCode 9
|
|
versionName "1.0-beta9"
|
|
jackOptions.enabled = true
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
}
|
|
|
|
ext.jabitVersion = '2.0.2'
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile 'com.android.support:appcompat-v7:24.2.1'
|
|
compile 'com.android.support:support-v4:24.2.1'
|
|
compile 'com.android.support:design:24.2.1'
|
|
|
|
compile "ch.dissem.jabit:jabit-core:$jabitVersion"
|
|
compile "ch.dissem.jabit:jabit-networking:$jabitVersion"
|
|
compile "ch.dissem.jabit:jabit-cryptography-spongy:$jabitVersion"
|
|
compile "ch.dissem.jabit:jabit-extensions:$jabitVersion"
|
|
compile "ch.dissem.jabit:jabit-wif:$jabitVersion"
|
|
|
|
compile 'org.slf4j:slf4j-android:1.7.12'
|
|
|
|
compile 'com.mikepenz:materialize:1.0.0@aar'
|
|
compile('com.mikepenz:materialdrawer:5.6.0@aar') {
|
|
transitive = true
|
|
}
|
|
compile('com.mikepenz:aboutlibraries:5.8.1@aar') {
|
|
transitive = true
|
|
}
|
|
compile 'com.mikepenz:iconics:1.6.2@aar'
|
|
compile 'com.mikepenz:community-material-typeface:1.5.54.2@aar'
|
|
|
|
compile 'com.journeyapps:zxing-android-embedded:3.3.0@aar'
|
|
compile 'com.google.zxing:core:3.3.0'
|
|
compile 'io.github.yavski:fab-speed-dial:1.0.4'
|
|
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
|
|
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.3@aar') {
|
|
transitive = true
|
|
}
|
|
compile 'com.github.angads25:filepicker:1.0.6'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
|
|
}
|
|
|
|
idea.module {
|
|
downloadJavadoc = true
|
|
downloadSources = true
|
|
}
|
|
|
|
android {
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|