Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Morfly committed Dec 11, 2023
1 parent 989df0b commit e72d547
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ onDependency(MavenCoordinates("com.google.dagger", "hilt-android")) {
// ignored
}
```
> Refer to the example of [`HiltFeature`](https://github.com/Morfly/airin/blob/989df0b03a2a38c4390839104de3b1f248ffcaca/airin-gradle-android/src/main/kotlin/io/morfly/airin/feature/HiltFeature.kt) to learn more.

### Configuration overrides
When setting up a Gradle module, it involves not only specifying dependencies but also assigning them to a specific **configuration**, providing instructions to Gradle on how to treat each dependency.
Expand Down Expand Up @@ -277,6 +278,9 @@ onConfiguration("api") {
}
```

> Refer to the example of [`ArtifactMappingFeature`](https://github.com/Morfly/airin/blob/989df0b03a2a38c4390839104de3b1f248ffcaca/airin-gradle-android/src/main/kotlin/io/morfly/airin/feature/ArtifactMappingFeature.kt) to learn more.


### File modifiers
Beyond handling dependencies, feature components can also make contributions to the Bazel files generated by module components.

Expand Down Expand Up @@ -338,6 +342,9 @@ kt_android_library(
package(default_visibility = ["//visibility:public"])
```

> Refer to the example of [`JetpackComposeFeature`](https://github.com/Morfly/airin/blob/989df0b03a2a38c4390839104de3b1f248ffcaca/airin-gradle-android/src/main/kotlin/io/morfly/airin/feature/JetpackComposeFeature.kt) to learn more.


## Shared components
The purpose of shared components is to enable feature components to contribute into multiple module components.

Expand Down

0 comments on commit e72d547

Please sign in to comment.