105 lines
3.4 KiB
Groovy
105 lines
3.4 KiB
Groovy
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
|
|
versionCode 17
|
|
versionName "1.0-beta17"
|
|
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'
|
|
ext.jabitVersion = 'development-SNAPSHOT'
|
|
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"
|
|
|
|
compile "com.android.support:appcompat-v7:$supportVersion"
|
|
compile "com.android.support:preference-v7:$supportVersion"
|
|
compile "com.android.support:support-v4:$supportVersion"
|
|
compile "com.android.support:design:$supportVersion"
|
|
compile "com.android.support:multidex:1.0.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 "ch.dissem.jabit:jabit-exports:$jabitVersion"
|
|
|
|
compile 'org.slf4j:slf4j-android:1.7.25'
|
|
|
|
compile 'com.mikepenz:materialize:1.0.1@aar'
|
|
compile('com.mikepenz:materialdrawer:5.9.0@aar') {
|
|
transitive = true
|
|
}
|
|
compile('com.mikepenz:aboutlibraries:5.9.5@aar') {
|
|
transitive = true
|
|
}
|
|
compile "com.mikepenz:iconics-core:2.8.3@aar"
|
|
compile 'com.mikepenz:google-material-typeface:3.0.1.0.original@aar'
|
|
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'
|
|
|
|
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'
|
|
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
|
|
}
|
|
}
|