Skip to content

Instantly share code, notes, and snippets.

@crowell256aa
Created April 14, 2017 14:51
Show Gist options
  • Save crowell256aa/eb38857b76bee88c8d66782d8fcf83b8 to your computer and use it in GitHub Desktop.
Save crowell256aa/eb38857b76bee88c8d66782d8fcf83b8 to your computer and use it in GitHub Desktop.
gradle.build
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.hawthornemackenzie.congressfoundationandroid"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
//also for zoomable maps
multiDexEnabled true /// <---
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0@aar') {
transitive = true //there is a "true" there
exclude module: 'support-v4'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
/// compile 'com.android.support:appcompat-v7:23.4.0'
testCompile 'junit:junit:4.12'
}
// I commented out a bunch of these that were auto generated to no ill effect
//dependencies {
// // compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// // compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
//dependencies {
// compile 'com.android.support.constraint:constraint-layout:+'
//}
////// glide (image download and cache)
dependencies {
compile ('com.github.bumptech.glide:glide:3.7.0') {
exclude module: 'support-v4'
}
// compile 'com.android.support:support-v4:19.1.0'
}
dependencies {
compile ('com.android.volley:volley:1.0.0') {
exclude module: 'support-v4'
}
}
dependencies{
compile ("com.google.android.gms:play-services-gcm:10.2.0") {
exclude module: 'support-v4'
}
// compile ('com.android.support:appcompat-v7:23.1.0'){
// exclude module: 'support-v4'
// }
}
dependencies {
compile ('com.android.support:multidex:1.0.0'){
exclude module: 'support-v4'
}
}
// zoomable images
dependencies {
compile ('com.github.chrisbanes:PhotoView:2.0.0') {
exclude module: 'support-v4'
}
}
apply plugin: 'com.google.gms.google-services'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment