Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for 0.2.0 release with AGP/Gradle 8.2 support #107

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [0.2.0] - 2023-12-11

* Upgrade AGP to 8.2.0 and Gradle 8.2 (#106)

## [0.1.3] - 2023-11-17

* Upgrade AGP to 8.1.4
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ be applied to your project as a Gradle plugin.
// root build.gradle file
buildscript {
dependencies {
classpath "app.cash.better.dynamic.features:agp-patch:0.1.0" // Must be loaded before AGP!
classpath "com.android.tools.build:gradle:8.1.0"
classpath "app.cash.better.dynamic.features:agp-patch:0.2.0" // Must be loaded before AGP!
classpath "com.android.tools.build:gradle:8.2.0"
}
}
```
Expand All @@ -122,12 +122,12 @@ the plugin to your application module.
```groovy
// app/build.gradle
plugins {
id("app.cash.better.dynamic.features.agp-patch") version "0.1.0"
id("app.cash.better.dynamic.features.agp-patch") version "0.2.0"
id("com.android.application") version "7.4.2" // Wrong version!
}

// Reports an error:
// "This version of the Android Gradle Plugin (7.4.2) is not supported by the better-dynamic-features plugin. Only version 8.1.0 is supported."
// "This version of the Android Gradle Plugin (7.4.2) is not supported by the better-dynamic-features plugin. Only version 8.2.0 is supported."
```

Note that this bug has been marked as fixed in AGP 8.1, however this fix was made by disabling
Expand All @@ -142,7 +142,8 @@ Version Compatibility:
| AGP | Better Dynamic Features |
|--------|-------------------------|
| 8.1.0 | 0.1.0 |
| 8.2.0+ | TBD |
| 8.2.0+ | 0.2.0 |
| 8.3.0+ | TBD |

# Using Feature Module Code

Expand Down