Last active
January 21, 2016 20:26
-
-
Save luiszacheu/dfb239164718ae33513f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
dependencies { | |
classpath 'io.fabric.tools:gradle:1.+' | |
} | |
} | |
apply plugin: 'com.android.application' | |
apply plugin: 'io.fabric' | |
repositories { | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
android { | |
compileSdkVersion 22 | |
buildToolsVersion '23.0.2' | |
defaultConfig { | |
applicationId "br.com.exemplo.build.ui" | |
minSdkVersion 14 | |
targetSdkVersion 21 | |
versionCode 54 | |
versionName "2.1" | |
testApplicationId "br.com.exemplo.build.ui.test" | |
testInstrumentationRunner "android.test.InstrumentationTestRunner" | |
// Enabling multidex support. | |
multiDexEnabled true | |
} | |
buildTypes { | |
release { | |
minifyEnabled true | |
proguardFiles 'proguard-project.cfg' | |
} | |
custom { | |
applicationIdSuffix ".restaurante" | |
versionNameSuffix "-restaurante" | |
} | |
} | |
productFlavors { | |
stagging { | |
applicationId 'br.com.exemplo.build.ui.stagging' | |
buildConfigField 'boolean', 'ENABLE_CRASHLYTICS', 'true' | |
} | |
development { | |
applicationId "br.com.exemplo.build.ui.dev" | |
buildConfigField 'boolean', 'ENABLE_CRASHLYTICS', 'false' | |
} | |
production { | |
applicationId "br.com.exemplo.build.ui" | |
buildConfigField 'boolean', 'ENABLE_CRASHLYTICS', 'true' | |
} | |
} | |
lintOptions { | |
disable 'InvalidPackage' | |
checkReleaseBuilds false | |
// Or, if you prefer, you can continue to check for errors in release builds, | |
// but continue the build even when errors are found: | |
abortOnError false | |
} | |
packagingOptions { | |
exclude 'META-INF/services/javax.annotation.processing.Processor' | |
} | |
dexOptions { | |
preDexLibraries = false | |
} | |
configurations.all { | |
resolutionStrategy { | |
force 'com.android.support:support-annotations:23.0.1' | |
} | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile files('libs/Parse-1.8.2.jar') | |
compile files('libs/android-query-full.0.25.10.jar') | |
compile files('libs/libGoogleAnalyticsServices.jar') | |
compile files('libs/universal-image-loader-1.9.2.jar') | |
compile project(':library_viewpager') | |
compile project(':library') | |
compile project(':library_picker') | |
compile files('libs/core.jar') | |
//Compilações para teste | |
androidTestCompile 'com.jayway.android.robotium:robotium-solo:5.2.1' | |
androidTestCompile('com.squareup.assertj:assertj-android:1.0.0') { | |
exclude group: 'com.android.support', module: 'support-annotations' | |
} | |
androidTestCompile 'com.android.support:support-annotations:22.2.1' | |
compile 'com.android.support:cardview-v7:22.2.1' | |
compile 'com.android.support:recyclerview-v7:22.2.1' | |
compile 'com.android.support:appcompat-v7:22.2.1' | |
compile 'com.jakewharton:butterknife:7.0.1' | |
compile 'com.facebook.android:facebook-android-sdk:4.5.0' | |
compile 'com.android.support:support-v4:22.2.1' | |
compile 'com.android.support:design:22.2.1' | |
compile('com.crashlytics.sdk.android:crashlytics:2.5.2@aar') { | |
transitive = true; | |
} | |
compile 'io.nlopez.smartlocation:library:3.2.0' | |
compile 'com.github.deano2390:MaterialShowcaseView:1.0.5@aar' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment