Abit/app/build.gradle

105 lines
3.4 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'idea'
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 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "ch.dissem.apps." + appName.toLowerCase()
minSdkVersion 19
targetSdkVersion 25
2017-09-22 20:55:09 +02:00
versionCode 17
versionName "1.0-beta17"
2017-04-16 22:36:23 +02:00
multiDexEnabled true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
//ext.jabitVersion = '2.0.4'
2017-09-22 20:55:09 +02:00
ext.jabitVersion = 'development-SNAPSHOT'
2017-04-22 07:42:20 +02:00
ext.supportVersion = '25.3.1'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
compile "org.jetbrains.anko:anko:$anko_version"
2017-03-23 16:59:36 +01:00
compile "com.android.support:appcompat-v7:$supportVersion"
compile "com.android.support:preference-v7:$supportVersion"
2017-03-23 16:59:36 +01:00
compile "com.android.support:support-v4:$supportVersion"
compile "com.android.support:design:$supportVersion"
2017-04-16 22:36:23 +02:00
compile "com.android.support:multidex:1.0.1"
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"
compile "ch.dissem.jabit:jabit-wif:$jabitVersion"
2017-07-22 06:37:06 +02:00
compile "ch.dissem.jabit:jabit-exports:$jabitVersion"
compile 'org.slf4j:slf4j-android:1.7.25'
compile 'com.mikepenz:materialize:1.0.1@aar'
2017-04-16 22:36:23 +02:00
compile('com.mikepenz:materialdrawer:5.9.0@aar') {
transitive = true
}
2017-04-16 22:36:23 +02:00
compile('com.mikepenz:aboutlibraries:5.9.5@aar') {
2015-12-27 22:07:44 +01:00
transitive = true
}
2017-04-22 07:42:20 +02:00
compile "com.mikepenz:iconics-core:2.8.3@aar"
2017-03-23 16:59:36 +01:00
compile 'com.mikepenz:google-material-typeface:3.0.1.0.original@aar'
2017-04-22 07:42:20 +02:00
compile 'com.mikepenz:community-material-typeface:1.9.32.1@aar'
compile 'com.journeyapps:zxing-android-embedded:3.5.0@aar'
compile 'com.google.zxing:core:3.3.0'
2017-08-10 00:40:44 +02:00
compile 'com.github.kobakei:MaterialFabSpeedDial:1.1.5'
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
compile('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.10.4@aar') {
transitive = true
}
compile 'com.github.angads25:filepicker:1.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
2017-07-22 06:37:06 +02:00
testCompile 'org.mockito:mockito-core:2.8.9'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile 'com.nhaarman:mockito-kotlin-kt1.1:1.5.0'
testCompile 'org.robolectric:robolectric:3.4.2'
testCompile "org.robolectric:shadows-multidex:3.4-rc2"
}
idea.module {
downloadJavadoc = true
downloadSources = true
}
android {
lintOptions {
abortOnError false
}
}