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.
101 lines
3.8 KiB
101 lines
3.8 KiB
apply plugin: 'idea'
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'jacoco'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "org.isoron.uhabits"
|
|
minSdkVersion 19
|
|
targetSdkVersion 25
|
|
|
|
buildConfigField "Integer", "databaseVersion", "19"
|
|
buildConfigField "String", "databaseFilename", "\"uhabits.db\""
|
|
buildConfigField "int", "roboSdk", (System.getenv("ROBO_SDK") ?: "25")
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
}
|
|
|
|
compileOptions {
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
testOptions {
|
|
unitTests.all {
|
|
testLogging {
|
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
|
outputs.upToDateWhen { false }
|
|
showStandardStreams = true
|
|
}
|
|
jacoco {
|
|
includeNoLocationClasses = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":uhabits-core")
|
|
implementation 'com.android.support:appcompat-v7:25.3.1'
|
|
implementation 'com.android.support:design:25.3.1'
|
|
implementation 'com.android.support:preference-v14:25.3.1'
|
|
implementation 'com.android.support:support-v4:25.3.1'
|
|
implementation 'com.getpebble:pebblekit:3.0.0'
|
|
implementation 'com.github.paolorotolo:appintro:3.4.0'
|
|
implementation 'com.google.dagger:dagger:2.11-rc2'
|
|
implementation 'com.jakewharton:butterknife:8.6.1-SNAPSHOT'
|
|
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
|
|
implementation 'org.apmem.tools:layouts:1.10'
|
|
implementation 'org.jetbrains:annotations-java5:15.0'
|
|
implementation 'com.google.code.gson:gson:2.7'
|
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
|
compileOnly 'javax.annotation:jsr250-api:1.0'
|
|
compileOnly 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
|
annotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
|
|
androidTestImplementation project(":uhabits-core")
|
|
androidTestImplementation 'com.android.support:support-annotations:25.3.1'
|
|
androidTestImplementation 'com.android.support.test:rules:0.5'
|
|
androidTestImplementation 'com.android.support.test:runner:0.5'
|
|
androidTestImplementation 'com.google.guava:guava:20.0'
|
|
androidTestCompileOnly 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
androidTestAnnotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
|
androidTestAnnotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
androidTestAnnotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
|
|
|
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.11-rc2'
|
|
testAnnotationProcessor 'com.google.auto.factory:auto-factory:1.0-beta3'
|
|
testAnnotationProcessor 'com.jakewharton:butterknife-compiler:8.6.1-SNAPSHOT'
|
|
|
|
testCompile "org.mockito:mockito-core:2.8.9"
|
|
testCompile "org.mockito:mockito-inline:2.8.9"
|
|
androidTestCompile "org.mockito:mockito-android:2.8.9"
|
|
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
|
|
|
|
implementation('com.opencsv:opencsv:3.9') {
|
|
exclude group: 'commons-logging', module: 'commons-logging'
|
|
}
|
|
implementation('io.socket:socket.io-client:+') {
|
|
exclude group: 'org.json', module: 'json'
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|