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
|
2017-01-01 15:00:46 +01:00
|
|
|
buildToolsVersion "25.0.2"
|
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-11-04 22:03:04 +01:00
|
|
|
versionCode 11
|
|
|
|
versionName "1.0-beta11"
|
2016-11-03 23:04:41 +01:00
|
|
|
jackOptions.enabled = false
|
2016-10-16 23:16:38 +02:00
|
|
|
}
|
|
|
|
compileOptions {
|
2016-11-03 23:04:41 +01:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
2015-08-05 19:48:41 +02:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2016-11-04 22:03:04 +01:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
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-12-05 12:37:32 +01:00
|
|
|
//ext.jabitVersion = '2.0.4'
|
|
|
|
ext.jabitVersion = 'feature-extended-encoding-SNAPSHOT'
|
2017-03-23 16:59:36 +01:00
|
|
|
ext.supportVersion = '25.2.0'
|
2015-08-05 19:48:41 +02:00
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
2017-04-04 06:29:44 +02:00
|
|
|
|
2017-03-23 16:59:36 +01:00
|
|
|
compile "com.android.support:appcompat-v7:$supportVersion"
|
|
|
|
compile "com.android.support:support-v4:$supportVersion"
|
|
|
|
compile "com.android.support:design:$supportVersion"
|
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
|
|
|
|
2017-03-20 07:28:41 +01:00
|
|
|
compile 'org.slf4j:slf4j-android:1.7.25'
|
2015-08-05 19:48:41 +02:00
|
|
|
|
2017-03-18 07:09:03 +01:00
|
|
|
compile 'com.mikepenz:materialize:1.0.1@aar'
|
|
|
|
compile('com.mikepenz:materialdrawer:5.8.2@aar') {
|
2015-08-05 19:48:41 +02:00
|
|
|
transitive = true
|
|
|
|
}
|
2017-03-18 07:09:03 +01:00
|
|
|
compile('com.mikepenz:aboutlibraries:5.9.4@aar') {
|
2015-12-27 22:07:44 +01:00
|
|
|
transitive = true
|
|
|
|
}
|
2017-03-23 16:59:36 +01:00
|
|
|
compile "com.mikepenz:iconics-core:2.8.2@aar"
|
|
|
|
compile 'com.mikepenz:google-material-typeface:3.0.1.0.original@aar'
|
2017-03-18 07:09:03 +01:00
|
|
|
compile 'com.mikepenz:community-material-typeface:1.8.36.1@aar'
|
2016-01-29 18:05:43 +01:00
|
|
|
|
2017-04-04 06:29:44 +02:00
|
|
|
compile 'com.journeyapps:zxing-android-embedded:3.5.0@aar'
|
2016-10-06 22:01:33 +02:00
|
|
|
compile 'com.google.zxing:core:3.3.0'
|
2017-04-04 06:29:44 +02:00
|
|
|
|
|
|
|
compile 'io.github.yavski:fab-speed-dial:1.0.7'
|
2016-09-16 17:35:24 +02:00
|
|
|
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
|
2017-03-18 07:09:03 +01:00
|
|
|
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.4@aar') {
|
2016-10-16 23:16:38 +02:00
|
|
|
transitive = true
|
2016-09-16 17:35:24 +02:00
|
|
|
}
|
2017-03-20 07:28:41 +01:00
|
|
|
compile 'com.github.angads25:filepicker:1.1.0'
|
2017-03-18 07:09:03 +01:00
|
|
|
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
2016-04-25 09:27:36 +02:00
|
|
|
|
|
|
|
testCompile 'junit:junit:4.12'
|
2017-04-04 06:29:44 +02:00
|
|
|
testCompile 'org.mockito:mockito-core:2.7.21'
|
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
|
|
|
}
|