Skip to content
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

Merged
merged 3 commits into from
Sep 23, 2018
Merged

Add japicmp to test, rx2, rx, extras, and core #44

merged 3 commits into from
Sep 23, 2018

Conversation

bootstraponline
Copy link
Contributor

Add japicmp to test, rx2, rx, extras, and core

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

Adding japicmp via gradle was mentioned on #40 (comment). I took the implementation from Visistema/Groovy1.

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-io
Copy link

codecov-io commented Sep 22, 2018

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8e2eea...9a6bedc. Read the comment docs.

Copy link
Collaborator

@togi togi left a 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
Copy link
Collaborator

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.

Copy link
Contributor Author

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')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about android modules?

Copy link
Contributor Author

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.

@bootstraponline
Copy link
Contributor Author

Could you make sure we have it integrated with CI too

Updated .travis.yml to run the japicmp task

@togi togi merged commit bad5a10 into spotify:master Sep 23, 2018
@bootstraponline bootstraponline deleted the japicmp branch September 23, 2018 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants