browserstack / browserstack-gradle-plugin

Gradle plugin for uploading app and running tests on BrowserStack
16 stars 20 forks source link

Rewrite plugin in kotlin #24

Closed badoualy closed 4 years ago

badoualy commented 4 years ago

Hi,

I rewrote the plugin in Kotlin and optimised some part:

I didn't touch the json/http packages, should probably but rewritten with retrofit/moshi one day for maintanability.

I'm using it in locale and it works fine, feel free to test. If you prefer to keep it in java, just close the PR.

Some notes:

I also added a parameter to poll the end of the test in my local fork. Let me know if you're interested in merging that as well. The process is holding until the execution is finished. The task polls at a regular interval to check the status. Then it downloads the test result file in local test-results directory

badoualy commented 4 years ago

For anyone interested: https://github.com/badoualy/browserstack-gradle-plugin

Also added: