Created
September 20, 2017 07:19
-
-
Save guodong1111/b549dec2957bed1d7fff673edd97754e 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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.3" | |
sourceSets.main { | |
jniLibs.srcDir 'libs' | |
jni.srcDirs = [] //disable automatic ndk-build call | |
} | |
defaultConfig { | |
applicationId "com.gogomaper.meat" | |
minSdkVersion 21 | |
targetSdkVersion 25 | |
versionCode 36 | |
versionName "1.9.2.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
multiDexEnabled true | |
renderscriptTargetApi 18 | |
renderscriptSupportModeEnabled true | |
} | |
signingConfigs { | |
release { | |
storeFile file("gogomaper.jks") | |
storePassword "gogomaper" | |
keyAlias "meat" | |
keyPassword "meat2017" | |
} | |
} | |
buildTypes { | |
release { | |
minifyEnabled true | |
signingConfig signingConfigs.release | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
//APK name | |
applicationVariants.all { variant -> | |
variant.outputs.each { output -> | |
output.outputFile = new File( | |
output.outputFile.parent, | |
output.outputFile.name.replace(".apk", "-${variant.versionName}.apk")) | |
} | |
} | |
dexOptions { | |
javaMaxHeapSize "4g" | |
} | |
productFlavors { | |
develop { | |
// minSdkVersion 25 | |
} | |
product { | |
} | |
} | |
compileOptions { | |
incremental false | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
packagingOptions { | |
exclude 'META-INF/LICENSE' | |
exclude 'META-INF/ASL2.0' | |
} | |
configurations.all { //Resolve the library version conflict | |
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.0' | |
} | |
} | |
buildscript { | |
repositories { | |
maven { | |
url 'https://maven.fabric.io/public' | |
} | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'io.fabric.tools:gradle:1.24.0' | |
classpath 'me.tatarka:gradle-retrolambda:3.6.0' | |
} | |
} | |
repositories { | |
maven { | |
url 'https://maven.fabric.io/public' | |
} | |
mavenCentral() | |
} | |
dependencies { | |
compile fileTree(include: ['*.jar'], dir: 'libs') | |
compile project(':library:imagepicker') | |
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:25.3.1' | |
compile 'com.android.support:support-v4:25.3.1' | |
compile 'com.android.support:recyclerview-v7:25.3.1' | |
compile 'com.android.support:cardview-v7:25.3.1' | |
compile 'com.android.support:design:25.3.1' | |
compile 'com.android.support:multidex:1.0.1' | |
compile 'com.android.support.constraint:constraint-layout:1.0.1' | |
compile 'com.google.maps.android:android-maps-utils:0.5' | |
compile 'com.google.android.gms:play-services-maps:11.0.4' | |
compile 'com.google.android.gms:play-services-analytics:11.0.4' | |
compile 'com.google.firebase:firebase-core:11.0.4' | |
compile 'com.google.firebase:firebase-auth:11.0.4' | |
compile 'com.google.firebase:firebase-messaging:11.0.4' | |
compile 'com.google.firebase:firebase-database:11.0.4' | |
compile 'com.google.code.gson:gson:2.7' | |
//GSON https://github.com/google/gson | |
compile 'com.google.api-client:google-api-client-android:1.22.0' exclude module: 'httpclient' | |
compile 'com.google.apis:google-api-services-vision:v1-rev357-1.22.0' | |
//Goocle cloud Vision https://cloud.google.com/vision/docs/reference/libraries | |
compile 'com.parse:parse-android:1.13.1' | |
//Parse SDK https://github.com/ParsePlatform/Parse-SDK-Android | |
compile 'com.parse.bolts:bolts-android:1.4.0' | |
//Parse SDK https://github.com/BoltsFramework/Bolts-Android | |
compile 'com.amazonaws:aws-android-sdk-cognito:2.4.2' | |
//AWS https://github.com/aws/aws-sdk-android | |
compile 'com.amazonaws:aws-android-sdk-core:2.4.2' | |
//AWS https://github.com/aws/aws-sdk-android | |
compile 'com.amazonaws:aws-android-sdk-s3:2.4.2' | |
//AWS https://github.com/aws/aws-sdk-android | |
compile 'com.squareup.picasso:picasso:2.5.2' | |
//Picasso(ImageLoader) https://github.com/square/picasso | |
// compile 'com.github.chrisbanes:PhotoView:1.3.1' | |
// //display Image https://github.com/chrisbanes/PhotoView | |
compile 'com.balysv.materialmenu:material-menu:2.0.0' | |
//material menu https://github.com/balysv/material-menu | |
compile 'com.facebook.rebound:rebound:0.3.8' | |
//Rebound https://github.com/facebook/rebound | |
compile 'com.facebook.android:account-kit-sdk:4.26.0' | |
//SMS login https://github.com/facebook/facebook-android-sdk | |
compile 'com.karumi:dexter:4.0.0' | |
//android6.0 permission https://github.com/Karumi/Dexter | |
compile 'org.jbox2d:jbox2d-library:2.2.1.1' | |
//JBox2d https://github.com/jbox2d/jbox2d | |
compile 'com.github.JakeWharton:ViewPagerIndicator:2.4.1' | |
//Parse ViewPagerIndicator https://github.com/JakeWharton/ViewPagerIndicator | |
compile 'com.facebook.android:audience-network-sdk:4.26.0' | |
//Facebook AD https://developers.facebook.com/docs/audience-network/android | |
compile 'com.facebook.android:facebook-android-sdk:4.26.0' | |
//Facebook SDK https://github.com/facebook/facebook-android-sdk | |
testCompile 'junit:junit:4.12' | |
compile('com.crashlytics.sdk.android:crashlytics:2.6.7@aar') { | |
transitive = true; | |
} | |
} | |
apply plugin: 'com.google.gms.google-services' | |
apply plugin: 'io.fabric' | |
apply plugin: 'me.tatarka.retrolambda' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment