Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ android:
before_script:
- cp library/google-services.json app/google-services.json
- cp library/google-services.json proguard-tests/google-services.json
script: ./gradlew clean assembleDebug proguard-tests:build check
script:
- ./gradlew clean
- ./gradlew assembleDebug proguard-tests:build check
after_success: ./scripts/artifactory.sh
after_failure:
# tests
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ object Config {
}

object Plugins {
const val android = "com.android.tools.build:gradle:3.2.0-rc01"
const val android = "com.android.tools.build:gradle:3.2.0-rc03"
const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
const val google = "com.google.gms:google-services:4.1.0"
const val google = "com.google.gms:google-services:4.0.2"

const val bintray = "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
const val buildInfo = "org.jfrog.buildinfo:build-info-extractor-gradle:4.7.5"
Expand Down
7 changes: 6 additions & 1 deletion proguard-tests/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// This is always set to 'true' on Travis CI
val inCiBuild = System.getenv("CI") == "true"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


android {
defaultConfig {
multiDexEnabled = true
Expand All @@ -23,7 +26,9 @@ android {
}

variantFilter {
if (name == "debug") setIgnore(true)
if (inCiBuild && name == "debug") {
setIgnore(true)
}
}
}

Expand Down