Skip to content

Commit

Permalink
Merge pull request #108 from irgaly/release_2.0.0
Browse files Browse the repository at this point in the history
2.0.0
  • Loading branch information
irgaly authored Aug 5, 2023
2 parents ef53a03 + b40f438 commit 3758ddd
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
47 changes: 46 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,53 @@
# v2.0.0 - 2023/08/05 JST

This version has breaking changes.

* Breaking Changes
* `-Prur.lintVariant` and Extension's `lintVariant` options are removed.
* Please use `removeUnusedResources{variant}` task to specify variant instead.
* Changes
* AGP 4.X and AGP 7.0 are not supported from this version.
* Minimum support version is AGP 7.1.

### Changes

* refactor: use
withPlugin [#103](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/103)
* fix: you can apply plugins any order
* apply AGP -> remove-unused-resources
* apply remove-unused-resources -> AGP
* Register task as
removeUnusedResources{variant} [#104](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/104)
* `-Prur.lintVariant` and `lintVariant` options are removed.
* use default variant for removeUnusedResources
task [#109](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/109)
* Migrate AGP 7.1
APIs [#100](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/97)
* lintOptions -> lint migration in this plugin.
* Using CommonExtension, AndroidComponentsExtension, finalizeDsl, and onVariants APIs.

### Refactor

* mark RemoveUnusedResourcesTask as
@DisableCachingByDefault [#107](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/107)

### Maintenance

* Kotlin 1.9.0 + Compose Compiler
1.5.0 [#97](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/97)
* Update dependency gradle to
v8.2 [#96](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/96)
* Gradle Plugin: jvmToolchain 11 +
foojay-resolver [#92](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/92)
* CI: update_sample_diff.yml: update
command [#110](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/110)

# v1.4.1 - 2023/05/9 JST

### Fixes

* error on running task when lintVariant not specified [#90](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/90)
* error on running task when lintVariant not
specified [#90](https://github.com/irgaly/android-remove-unused-resources-plugin/pull/90)

# v1.4.0 - 2023/04/18 JST

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Apply the plugin to your app module.

```kotlin
plugins {
id("io.github.irgaly.remove-unused-resources") version "1.4.1"
id("io.github.irgaly.remove-unused-resources") version "2.0.0"
}
```

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
removeunusedresources = "1.4.1"
removeunusedresources = "2.0.0"
kotlin = "1.9.0"
kotest = "5.6.2"
gradle-android = "8.1.0"
Expand Down

0 comments on commit 3758ddd

Please sign in to comment.