awslabs / aws-device-farm-gradle-plugin

Gradle plugin for AWS Device Farm.
Apache License 2.0
61 stars 32 forks source link

Use the roleArn if it exists #24

Open bradley-curran opened 6 years ago

bradley-curran commented 6 years ago

The extension object isn't populated with user-defined data until uploadApks() is called.

DeviceFarmPluginFactory.initializeApiClient(extension) was called before the extension object was populated, always resulting in an empty roleArn.

DeviceFarmServer construction is now delayed until uploadApks() is called. This is done using DeviceFarmServerDependencies.

bradley-curran commented 6 years ago

Fixes #23