2015-08-05 19:48:41 +02:00
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
2016-08-12 23:54:01 +02:00
|
|
|
ext {
|
|
|
|
appName = "Abit"
|
|
|
|
}
|
|
|
|
if (project.hasProperty("project.configs")
|
2016-10-16 23:16:38 +02:00
|
|
|
&& new File(project.property("project.configs") + appName + ".gradle").exists()) {
|
2016-08-12 23:54:01 +02:00
|
|
|
apply from: project.property("project.configs") + appName + ".gradle";
|
|
|
|
}
|
|
|
|
|
2016-10-16 23:16:38 +02:00
|
|
|
//noinspection GroovyMissingReturnStatement
|
2015-08-05 19:48:41 +02:00
|
|
|
android {
|
2016-10-25 07:30:16 +02:00
|
|
|
compileSdkVersion 25
|
|
|
|
buildToolsVersion "25.0.0"
|
2015-08-05 19:48:41 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2016-08-12 23:54:01 +02:00
|
|
|
applicationId "ch.dissem.apps." + appName.toLowerCase()
|
2016-01-13 17:28:18 +01:00
|
|
|
minSdkVersion 19
|
2016-10-25 07:30:16 +02:00
|
|
|
targetSdkVersion 25
|
2016-10-10 21:56:31 +02:00
|
|
|
versionCode 9
|
|
|
|
versionName "1.0-beta9"
|
2016-10-16 23:16:38 +02:00
|
|
|
jackOptions.enabled = true
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2015-08-05 19:48:41 +02:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-10-16 23:16:38 +02:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2015-08-05 19:48:41 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2016-01-01 15:35:16 +01:00
|
|
|
signingConfig signingConfigs.release
|
2015-08-05 19:48:41 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-02 07:32:13 +01:00
|
|
|
ext.jabitVersion = '2.0.4'
|
2015-08-05 19:48:41 +02:00
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
2016-10-25 07:30:16 +02:00
|
|
|
compile 'com.android.support:appcompat-v7:25.0.0'
|
|
|
|
compile 'com.android.support:support-v4:25.0.0'
|
|
|
|
compile 'com.android.support:design:25.0.0'
|
2016-11-02 07:32:13 +01:00
|
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta1'
|
2015-08-05 19:48:41 +02:00
|
|
|
|
2016-01-23 23:30:51 +01:00
|
|
|
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"
|
2016-01-29 18:05:43 +01:00
|
|
|
compile "ch.dissem.jabit:jabit-wif:$jabitVersion"
|
2015-08-05 19:48:41 +02:00
|
|
|
|
|
|
|
compile 'org.slf4j:slf4j-android:1.7.12'
|
|
|
|
|
2016-09-16 17:35:24 +02:00
|
|
|
compile 'com.mikepenz:materialize:1.0.0@aar'
|
|
|
|
compile('com.mikepenz:materialdrawer:5.6.0@aar') {
|
2015-08-05 19:48:41 +02:00
|
|
|
transitive = true
|
|
|
|
}
|
2016-09-16 17:35:24 +02:00
|
|
|
compile('com.mikepenz:aboutlibraries:5.8.1@aar') {
|
2015-12-27 22:07:44 +01:00
|
|
|
transitive = true
|
|
|
|
}
|
2015-08-14 17:25:05 +02:00
|
|
|
compile 'com.mikepenz:iconics:1.6.2@aar'
|
2016-09-16 17:35:24 +02:00
|
|
|
compile 'com.mikepenz:community-material-typeface:1.5.54.2@aar'
|
2016-01-29 18:05:43 +01:00
|
|
|
|
2016-10-06 22:01:33 +02:00
|
|
|
compile 'com.journeyapps:zxing-android-embedded:3.3.0@aar'
|
|
|
|
compile 'com.google.zxing:core:3.3.0'
|
2016-10-25 07:30:16 +02:00
|
|
|
compile 'io.github.yavski:fab-speed-dial:1.0.6'
|
2016-09-16 17:35:24 +02:00
|
|
|
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
|
2016-10-16 23:16:38 +02:00
|
|
|
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.9.3@aar') {
|
|
|
|
transitive = true
|
2016-09-16 17:35:24 +02:00
|
|
|
}
|
2016-10-01 10:33:11 +02:00
|
|
|
compile 'com.github.angads25:filepicker:1.0.6'
|
2016-04-25 09:27:36 +02:00
|
|
|
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
2015-08-05 19:48:41 +02:00
|
|
|
}
|
2016-01-01 15:35:16 +01:00
|
|
|
|
2015-08-05 19:48:41 +02:00
|
|
|
idea.module {
|
|
|
|
downloadJavadoc = true
|
|
|
|
downloadSources = true
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2016-09-16 17:35:24 +02:00
|
|
|
}
|