-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add japicmp to test, rx2, rx, extras, and core #44
Conversation
gradle -p mobius-test japicmp ;\ gradle -p mobius-rx2 japicmp ;\ gradle -p mobius-rx japicmp ;\ gradle -p mobius-extras japicmp ;\ gradle -p mobius-core japicmp
Codecov Report
@@ Coverage Diff @@
## master #44 +/- ##
=========================================
Coverage 74.23% 74.23%
Complexity 223 223
=========================================
Files 63 63
Lines 1308 1308
Branches 67 67
=========================================
Hits 971 971
Misses 323 323
Partials 14 14 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Could you make sure we have it integrated with CI too, so that breaking changes in a PR would be caught?
@@ -0,0 +1,42 @@ | |||
// code from: https://github.com/Visistema/Groovy1/blob/ba5eb9b2f19ca0cc8927359ce414c4e1974b7016/gradle/binarycompatibility.gradle#L48 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to update the NOTICE file in the root of the repository too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
@@ -74,6 +74,7 @@ subprojects { | |||
variant.javaCompiler.dependsOn(rootProject.tasks.format) | |||
} | |||
} else if (proj.plugins.findPlugin('java-library')) { | |||
proj.apply from: rootProject.file('gradle/binary_compatibility.gradle') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about android modules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to use japicmp-gradle-plugin on an aar file.
Updated |
Add japicmp to test, rx2, rx, extras, and core
Adding japicmp via gradle was mentioned on #40 (comment). I took the implementation from Visistema/Groovy1.