Skip to content

Instantly share code, notes, and snippets.

@femmerling
Created January 29, 2015 10:33
Show Gist options
  • Save femmerling/7c11a1d2fba0767d3e37 to your computer and use it in GitHub Desktop.
Save femmerling/7c11a1d2fba0767d3e37 to your computer and use it in GitHub Desktop.
App build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "com.emfeld.mvptest"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// make sure this gets set to the test source directories
sourceSets.androidTest.java.srcDirs += 'src/androidTest'
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
//list dependencies here
androidTestCompile 'junit:junit:4.12'
androidTestCompile('org.robolectric:robolectric:2.4') {
exclude group: "commons-logging", module: "commons-logging"
exclude group: "org.apache.httpcomponents", module: "httpclient"
}
androidTestCompile "org.mockito:mockito-core:1.+"
androidTestCompile 'xerces:xercesImpl:2.7.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment