51 lines
1.5 KiB
Groovy
51 lines
1.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
def code = System.getenv("BITRISE_BUILD_NUMBER") as Integer ?: 0
|
|
|
|
android {
|
|
compileSdkVersion 24
|
|
buildToolsVersion "24.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "org.hitlabnz.sensor_fusion_demo"
|
|
minSdkVersion 18
|
|
targetSdkVersion 24
|
|
versionCode code
|
|
versionName "1.4." + code
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:24.2.1'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
|
|
|
androidTestCompile 'com.android.support:support-annotations:24.2.1'
|
|
|
|
androidTestCompile 'org.hamcrest:hamcrest-library:1.3'
|
|
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
|
|
|
androidTestCompile ('com.android.support.test.espresso:espresso-core:2.2.2') {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
}
|
|
androidTestCompile ('com.android.support.test:runner:0.5') {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
}
|
|
androidTestCompile ('com.android.support.test:rules:0.5') {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
}
|
|
}
|