Skip to content

Commit 9fb5d67

Browse files
committed
Compatibility validator: Pass overwrite.output from project properties
1 parent 472bd73 commit 9fb5d67

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

binary-compatibility-validator/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
This module allows to dump and compare public binary API to ensure binary compatibility with a previous version.
44
This tool is slightly adapted copy of [original Kotlin compatibility validator](https://github.com/JetBrains/kotlin/tree/master/libraries/tools/binary-compatibility-validator) by @ilya-g.
55

6-
Refer to the original readme for additional documentation.
6+
To update public API dumps use:
7+
8+
```bash
9+
./gradlew :binary-compatibility-validator:test -Poverwrite.output=true
10+
```

binary-compatibility-validator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ test {
4747

4848
systemProperty 'testCasesClassesDirs', sourceSets.test.output.classesDirs.asPath
4949
systemProperty 'testCasesDeclarations', testCasesDeclarationsDump
50+
systemProperty 'overwrite.output', project.properties['overwrite.output']
5051
jvmArgs '-ea'
5152
}

0 commit comments

Comments
 (0)