Skip to content

Commit

Permalink
Merge pull request #20 from usefulness/mateuszkwiecinski-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Nov 13, 2023
2 parents 3187fcd + abd5369 commit 4d731c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Turn raw [cashapp/licensee](https://github.com/cashapp/licensee) report into assets/Kotlin code that can be easily consumed from an Android app

### Features
- Access licenses report directly by a generated Kotlin code (accessible via static `io.github.usefulness.licensee.Licensee` object)
- Access licenses report directly by a generated Kotlin code (accessible via static `io.github.usefulness.licensee.LicenseeForAndroid` object)
- Read _licensee_ report copied to projects assets directory in runtime (via `assetManager.open("licensee_artifacts.json")`)

![example](images/generated_code_dark.png#gh-dark-mode-only)
Expand Down Expand Up @@ -119,7 +119,7 @@ licenseeForAndroid {
enableKotlinCodeGeneration = true
}
```
\+ provide `LicenseeForAndroid` object as `Licensee` interface
\+ provide `LicenseeForAndroid` object as `Licensee` interface using your DI framework

`consumer/build.gradle`:
```groovy
Expand Down

0 comments on commit 4d731c5

Please sign in to comment.