|
@@ -15,7 +15,6 @@ buildscript {
|
|
|
}
|
|
|
dependencies {
|
|
|
classpath 'com.android.tools.build:gradle:3.1.3'
|
|
|
- classpath 'com.google.gms:google-services:3.0.0'
|
|
|
classpath 'org.codehaus.groovy:groovy-all:2.4.12'
|
|
|
classpath('com.dicedmelon.gradle:jacoco-android:0.1.2') {
|
|
|
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
|
|
@@ -36,8 +35,6 @@ configurations.all {
|
|
|
|
|
|
ext {
|
|
|
supportLibraryVersion = '27.1.1'
|
|
|
- googleLibraryVersion = '12.0.1'
|
|
|
- androidLibraryVersion = '1.0.40'
|
|
|
jacocoVersion = "0.7.4.201502262128"
|
|
|
|
|
|
travisBuild = System.getenv("TRAVIS") == "true"
|
|
@@ -63,6 +60,11 @@ def versionMinor = 3
|
|
|
def versionPatch = 0
|
|
|
def versionBuild = 0 // 0-49=Alpha / 50-98=RC / 99=stable
|
|
|
|
|
|
+def taskRequest = getGradle().getStartParameter().getTaskRequests().toString();
|
|
|
+if (taskRequest.contains("Gplay") || taskRequest.contains("findbugs") || taskRequest.contains("lint")) {
|
|
|
+ apply from: 'gplay.gradle'
|
|
|
+}
|
|
|
+
|
|
|
android {
|
|
|
lintOptions {
|
|
|
abortOnError false
|
|
@@ -232,9 +234,6 @@ dependencies {
|
|
|
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
|
|
|
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
|
|
|
|
|
|
- // uncomment for gplay
|
|
|
- // implementation "com.google.firebase:firebase-messaging:${googleLibraryVersion}"
|
|
|
- // implementation "com.google.android.gms:play-services-gcm:${googleLibraryVersion}"
|
|
|
implementation 'org.parceler:parceler-api:1.1.9'
|
|
|
annotationProcessor 'org.parceler:parceler:1.1.9'
|
|
|
implementation ('com.github.bumptech.glide:glide:3.7.0') {
|
|
@@ -310,6 +309,3 @@ task combinedTestReport(type: JacocoReport) {
|
|
|
'jacoco/testGplayDebugUnitTest.exec', 'outputs/code-coverage/connected/flavors/GPLAY/*coverage.ec'
|
|
|
])
|
|
|
}
|
|
|
-
|
|
|
- // uncomment for gplay (must be at the bottom)
|
|
|
- // apply plugin: 'com.google.gms.google-services'
|