Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Latest commit

 

History

History
108 lines (85 loc) · 4.73 KB

File metadata and controls

108 lines (85 loc) · 4.73 KB

1.7.1

2017-01-31

  • Fix a bug where system animation tasks output a non-actionable warning 6 times. #119

1.7.0

2017-01-11

  • 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
    }
}

1.6.2

  • Fix source/target compatibility to Java 1.6

1.6.1

  • Task to enable/disable system animations. #96

1.6.0

1.5.0

1.4.0

1.3.0

  • 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+

1.2.1

  • added fallback if there is no SDK version available from the device properties
  • add descriptions to tasks and group them together (instead of "Other Tasks")

1.2.0

Complete rewrite of the plugin.

New commands

Replaced generic ADB command with useful predefined tasks:

  • installDevice<Variant>
  • uninstallDevice<Variant>
  • run<Variant>
  • monkey<Variant> - the default number of monkeyrunner events is 10000, change via setting android.events
  • clearPreferences<Variant>

See README for examples.