Skip to content

Commit

Permalink
Merge pull request #31 from CristianGM/increase-version-to-0.9.0
Browse files Browse the repository at this point in the history
Increase version to 0.9.0
  • Loading branch information
trevjonez authored Oct 30, 2018
2 parents 386ab22 + f75e254 commit 75b516f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelist
Items listed here may not be exhaustive, if you are seeing issues, check the git commits for more specific change information &| open an issue.

## 0.9.0
Support Orchestrator
- update to Composer 0.5.0
- add withOrchestrator
- install APKs declared on AndroidTestUtils

## 0.8.1
Regression fix for ANDROID_HOME being set on ComposerTask instances that are created via plugin.

Expand All @@ -14,4 +20,4 @@ Large implementation overhaul:

## 0.7.0
Composer gradle plugin requires gradle 4.10 or newer:
- Use new lazy task registration/configuration API to minimize config time overhead.
- Use new lazy task registration/configuration API to minimize config time overhead.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.github.trevjonez.composer-gradle-plugin:plugin:0.8.1'
classpath 'com.github.trevjonez.composer-gradle-plugin:plugin:0.9.0'
}
}
```
Expand Down Expand Up @@ -127,6 +127,15 @@ composer {
}
```

When you use it with Orchestrator you may want to enable clearPackageData, you can do it adding an
instrumentationArgument like this:
```groovy
composer {
withOrchestrator true
instrumentationArgument("clearPackageData","true")
}
```

As always I recommend you read the wealth of information available on [d.android.com](https://developer.android.com/).

Or specifically the [documentation for `InstrumentationTestRunner`](https://developer.android.com/reference/android/test/InstrumentationTestRunner)
Expand All @@ -141,7 +150,7 @@ The `composer` configuration is automatically added to your project once a

```groovy
dependencies {
composer "com.gojuno.composer:composer:0.3.3"
composer "com.gojuno.composer:composer:0.5.0"
}
```

Expand All @@ -154,6 +163,7 @@ version of gradle is 4.0 or whatever minimum is mandated by the android gradle p
Composer plugin version | Gradle version | Android plugin version
| ------ | ------ | ------ |
| 0.8.1 | 4.10 | 3.2.0 |
| 0.9.0 | 4.10 | 3.2.1 |

## License

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data class ComposerParams(
.let { params ->
extraApks.takeIf { !it.isEmpty }?.let {
val apks = extraApks.map { file -> file.absolutePath }.toTypedArray()
params + arrayOf("--orchestrator-apks", *apks)
params + arrayOf("--extra-apks", *apks)
} ?: params
}
.let { params ->
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
#


CGP_VERSION=0.8.1
CGP_VERSION=0.9.0

AGP_VERSION=3.2.0
AGP_VERSION=3.2.1
#AGP_VERSION=3.3.0-alpha07

KOTLIN_VERSION=1.2.61
GRADLE_SCAN_VERSION=1.16

org.gradle.caching=true
org.gradle.parallel=true
org.gradle.parallel=true

0 comments on commit 75b516f

Please sign in to comment.