Skip to content

Commit

Permalink
Prepare for release 0.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Feb 2, 2022
1 parent 8340e0c commit a0416dd
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
Changelog
=========

0.12.0
------

_2022-02-02_

**New:** Update to AGP 7.1 APIs

Keeper now requires AGP 7.1.0 or higher and has been reworked to use AGP's new extension APIs. As
such, the `variantFilter` API has now been removed.

In order to enable Keeper on a particular variant, you must register the `KeeperVariantMarker`
extension in AGP's `VariantBuilder` API like so:

```kotlin
androidComponents {
beforeVariants { builder ->
if (shouldRunKeeperOnVariant()) {
builder.optInToKeeper() // Helpful extension function
}
}
}
```

Or in Groovy

```kotlin
androidComponents {
beforeVariants { builder ->
if (shouldRunKeeperOnVariant(builder)) {
builder.registerExtension(KeeperVariantMarker.class, KeeperVariantMarker.INSTANCE)
}
}
}
```

Keeper's default behavior with no configuration effectively be a no-op, which isn't what you want!

**Other updates**
- Remove shaded ZipFlinger APIs, ZipFlinger is now used directly
- Update Kotlin to `1.6.10`

0.11.2
------

Expand Down
2 changes: 1 addition & 1 deletion keeper-gradle-plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ POM_NAME=Keeper
POM_ARTIFACT_ID=keeper
POM_PACKAGING=jar
GROUP=com.slack.keeper
VERSION_NAME=0.12.0-SNAPSHOT
VERSION_NAME=0.12.0
POM_DESCRIPTION=A Gradle plugin that infers Proguard/R8 keep rules for androidTest sources.
POM_URL=https://github.com/slackhq/keeper/
POM_SCM_URL=https://github.com/slackhq/keeper/
Expand Down

0 comments on commit a0416dd

Please sign in to comment.