Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Releases: novoda/gradle-android-command-plugin

Release v2.0.1

21 Mar 14:27
7bdfb8b
Compare
Choose a tag to compare

Fixes a bug that lead to a NullPointerException when executing install and run tasks, see this issue.
As a side-effect, deviceId can not be set via the new DSL. Set it within the command extension for now.

Release v2.0

30 Jan 21:00
0e61093
Compare
Choose a tag to compare

This is a major release with many improvements on how the plugin is configured.

New

Improvements

  • Full documentation on public configuration on command extension #129
  • Clean-up sample project #126

Deprecations

  • task methods in the extension are deprecated. Instead use the provided and documented DSL's to configure custom tasks. With this change,
    • Generated tasks are more consistent
    • usage is nicer-looking thanks to Groovy DSL
  • sortBySubtasks is deprecated and not used internally in the plugin.
    • Tasks are not categorized by variant or simply task names anymore.
    • Instead, each provided DSL has more meaningful category.

Release v1.7.1

01 Feb 10:07
Compare
Choose a tag to compare
  • Fix a bug where system animation tasks output a non-actionable warning 6 times. #119

Release v1.7.0

11 Jan 14:41
Compare
Choose a tag to compare

Changes:

  • Fix a bug where installation error marked as a successful build. #104
  • Fixed a bug that caused InstallTask to fail on Nougat devices. #110
  • On Nougat devices, errors in adb shell commands will now cause the build to fail forwarding the error. #110
  • Added a sample showing how to install APKs of all variants in one go. #109
  • Monkey task configuration is adjusted to make more sense. #106

Breaking changes in Monkey configuration

Monkey task configuration is adjusted to make more sense. The following adjustments are needed if custom monkey configs are used.

This sample configuration

android {
    ...
    command {
        events 1000
        categories = ['android.intent.category.ONLY_ME']
    }
}

needs to be changed. There are 2 possible options:

  • Wrap the parameters with a monkey closure. (Notice also that = after categories is not necessary anymore. Moreover, you now provide multiple categories as a comma separated list.)
android {
    ...
    command {
        monkey {
            events 1000
            categories 'android.intent.category.ONLY_ME'
        }
    }
}
  • If you have a simple configuration, you can also prepend the fields with monkey.
android {
    ...
    command {
        monkey.events 1000
    }
}

v1.6.2

08 Jul 16:57
Compare
Choose a tag to compare

Changes:

v1.6.1

07 Jul 09:14
Compare
Choose a tag to compare

Changes:

v1.6.0

06 Jul 16:27
Compare
Choose a tag to compare

Changes:

v1.5.0

10 Jul 21:28
Compare
Choose a tag to compare
  • add support for launching via alias (activity-alias) #79
  • add Stop and Start task to start/stop installed apps #78 #83

v1.4.0

23 Feb 13:37
Compare
Choose a tag to compare
  • add Files task to support adb push / pull functionality (see sample project for an example)
  • derive adb location from android plugin (contribution by Emanuele Zattin, #70)
  • better exception on missing android plugin (contribution by Emanuele Zattin, #68)
  • allow to specify seed in monkey task (contribution by Emanuele Zattin, #67)
  • fix broken script task on GenyMotion (contribution by Eugen Martynov, #59)
  • update to Gradle 2.2 (via wrapper)

v1.3.0

12 Dec 15:12
Compare
Choose a tag to compare
  • add an Input task to support basic adb scripting
  • add subgrouping of plugin tasks either by variant name or sub task based on a new setting "sortBySubtasks" (defaults to false)
  • updated Gradle 2.1 (via wrapper)
  • sample app: android-gradle 0.14, making it compatible with Android Studio 0.9+