Skip to content

Commit faa3116

Browse files
authored
update target information in README
1 parent d926037 commit faa3116

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,15 @@ binaryCompatibilityValidator {
119119
// Or overridden
120120
ignoredClasses.set(listOf())
121121
}
122+
123+
// BCV will automatically register a target for testFixtures, but it must be enabled manually
124+
targets.named("testFixtures") {
125+
enabled.set(true)
126+
}
127+
122128
// BCV Targets can also be manually defined
123-
targets.register("testFixtures") {
124-
inputJar.set(tasks.testFixturesJar)
129+
targets.register("customTarget") {
130+
inputJar.set(tasks.customTargetJar.flatMap { it.archiveFile })
125131
}
126132
}
127133
```

0 commit comments

Comments
 (0)