mirror of https://github.com/iSoron/uhabits.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.4 KiB
80 lines
2.4 KiB
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.neenbedankt.android-apt'
|
|
apply plugin: 'me.tatarka.retrolambda'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "org.isoron.uhabits"
|
|
minSdkVersion 15
|
|
targetSdkVersion 23
|
|
|
|
buildConfigField "Integer", "databaseVersion", "14"
|
|
buildConfigField "String", "databaseFilename", "\"uhabits.db\""
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
debug {
|
|
testCoverageEnabled = true
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
}
|
|
|
|
compileOptions {
|
|
targetCompatibility 1.8
|
|
sourceCompatibility 1.8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:23.3.0'
|
|
compile 'com.android.support:appcompat-v7:23.3.0'
|
|
compile 'com.android.support:design:23.3.0'
|
|
compile 'com.android.support:preference-v14:23.3.0'
|
|
compile 'com.github.paolorotolo:appintro:3.4.0'
|
|
compile 'org.apmem.tools:layouts:1.10@aar'
|
|
compile 'com.opencsv:opencsv:3.7'
|
|
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
|
|
|
|
compile 'com.jakewharton:butterknife:8.0.1'
|
|
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
|
|
|
compile 'com.google.dagger:dagger:2.2'
|
|
apt 'com.google.dagger:dagger-compiler:2.2'
|
|
testApt 'com.google.dagger:dagger-compiler:2.2'
|
|
androidTestApt 'com.google.dagger:dagger-compiler:2.2'
|
|
provided 'javax.annotation:jsr250-api:1.0'
|
|
|
|
compile project(':libs:drag-sort-listview:library')
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
|
|
|
androidTestCompile 'com.android.support:support-annotations:23.3.0'
|
|
androidTestCompile 'com.android.support.test:runner:0.5'
|
|
androidTestCompile 'com.android.support.test:rules:0.5'
|
|
|
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.1') {
|
|
exclude group: 'com.android.support'
|
|
}
|
|
|
|
androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2.1') {
|
|
exclude group: 'com.android.support'
|
|
}
|
|
|
|
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.1') {
|
|
exclude group: 'com.android.support'
|
|
}
|
|
}
|