Skip to content

Commit 2e7b97a

Browse files
committed
Update documentation
1 parent 23b927e commit 2e7b97a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,24 @@ In the example below, we're showing a hypothetical project graph and what projec
3939

4040
## Installation
4141

42+
```groovy
43+
// settings.gradle(.kts)
44+
pluginManagement {
45+
repositories {
46+
mavenCentral()
47+
gradlePluginPortal()
48+
}
49+
}
50+
51+
plugins {
52+
id("com.dropbox.affectedmoduledetector") version "<latest-version>"
53+
}
54+
```
55+
56+
Note that the plugin is currently published to Maven Central, so you need to add it to the repositories list in the `pluginsManagement` block.
57+
58+
Alternatively, it can be consumed via manual buildscript dependency + plugin application.
59+
4260
Apply the project to the root `build.gradle`:
4361
```groovy
4462
buildscript {

0 commit comments

Comments
 (0)