Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
little cleanup in gradle file
Browse files Browse the repository at this point in the history
add crash reporting
  • Loading branch information
hundeva committed Feb 28, 2018
1 parent da4a990 commit 8ae19e1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ gradle/
build/
gradlew*
*.jks
gradle.properties
gradle.properties
google-services.json
20 changes: 14 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
classpath 'com.google.gms:google-services:3.2.0'
}
}

Expand All @@ -19,6 +20,9 @@ allprojects {
min_sdk_version = 21
target_sdk_version = 27
build_tools_version = '27.0.3'

support_lib_version = '27.1.0'
gms_version = '11.8.0'
}
}

Expand Down Expand Up @@ -146,21 +150,23 @@ repositories {
google()
}

final String SUPPORT_LIBS_VERSION = '27.0.+'
dependencies {
compile "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}"
compile "com.android.support:support-dynamic-animation:${SUPPORT_LIBS_VERSION}"
compile "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}"
compile "com.android.support:palette-v7:${SUPPORT_LIBS_VERSION}"
compile "com.android.support:support-v4:$support_lib_version"
compile "com.android.support:support-dynamic-animation:$support_lib_version"
compile "com.android.support:recyclerview-v7:$support_lib_version"
compile "com.android.support:palette-v7:$support_lib_version"
compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-7'

compile "com.google.firebase:firebase-core:$gms_version"
compile "com.google.firebase:firebase-crash:$gms_version"

testCompile 'junit:junit:4.12'
androidTestCompile "org.mockito:mockito-core:1.9.5"
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
androidTestCompile "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}"
androidTestCompile "com.android.support:support-annotations:$support_lib_version"
}

protobuf {
Expand All @@ -185,3 +191,5 @@ protobuf {
}
}
}

apply plugin: 'com.google.gms.google-services'

0 comments on commit 8ae19e1

Please sign in to comment.