/app:build.gradle Secret
Created
July 13, 2017 02:51
Star
You must be signed in to star a gist
This file contains 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' } | |
jcenter() | |
} | |
dependencies { | |
classpath 'io.fabric.tools:gradle:1.+' | |
} | |
} | |
repositories { | |
jcenter() | |
maven { url 'https://maven.fabric.io/public' } | |
} | |
apply plugin: 'com.android.application' | |
apply plugin: 'io.fabric' | |
android { | |
compileSdkVersion 26 | |
buildToolsVersion '26.0.0' | |
defaultConfig { | |
applicationId "#####" | |
minSdkVersion 14 | |
targetSdkVersion | |
versionCode 1 | |
versionName "1.0" | |
multiDexEnabled true | |
} | |
signingConfigs { | |
release { | |
storeFile file("****.jks") | |
storePassword "****" | |
keyAlias "#####" | |
keyPassword "&&&&&&" | |
} | |
} | |
buildTypes { | |
debug { | |
debuggable true | |
} | |
release { | |
debuggable false | |
minifyEnabled true | |
shrinkResources true | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
signingConfig signingConfigs.release | |
} | |
lintOptions { | |
abortOnError false | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation project(path: ':core') | |
implementation ('com.google.android.gms:play-services-gcm:11.0.2'){ | |
exclude module: 'support-v4' | |
} | |
implementation('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') { | |
transitive = true; | |
} | |
implementation 'com.android.support:multidex:1.0.1' | |
implementation 'com.flurry.android:analytics:7.0.0' | |
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' | |
implementation 'com.jakewharton:butterknife:8.6.0' | |
} | |
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