Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed May 31, 2024
1 parent 26a5c87 commit d0f26ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ downgradeFileCollection.outputCollection

Make sure the task is configured before trying to use the outputCollection, it's computed from the `toDowngrade` files.

you can downgrade a configuration:
```gradle
configurations {
downgrade
implementation.extendsFrom downgrade
}
jvmdg.dg(configurations.downgrade)
dependencies {
downgrade "newer.java:version:1.0"
}
```

## "Compile" Time Downgrading

Expand Down

0 comments on commit d0f26ca

Please sign in to comment.