Created
October 15, 2016 10:03
-
-
Save ungesehn/ebf06a396fb814a3b7a88179a44bbf31 to your computer and use it in GitHub Desktop.
Identify InstantRun builds on Gradle
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
// taken from https://github.com/bugsnag/bugsnag-android-gradle-plugin/blob/master/src/main/groovy/com/bugsnag/android/gradle/BugsnagManifestTask.groovy | |
def isInstantRun() { | |
project.properties["android.optional.compilation"]?.contains("INSTANT_DEV") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment