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

AutoModule integration #122

Merged
merged 7 commits into from Aug 4, 2020
Merged

AutoModule integration #122

merged 7 commits into from Aug 4, 2020

Conversation

pablisco
Copy link
Contributor

I'm testing to see if we can use autoModule with arrow projects.

Should, hopefully, make module management easier.

include 'arrow-fx-mtl'
include 'arrow-incubator-test'
autoModule {
ignore(":arrow-docs")
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 added this because on the previous setup there was no include for arrow-docs and I wasn't sure if that was in purpose.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it's intentional. arrow-docs modules have a huge amount of dependencies so they are just included when generating API docs.

@pablisco pablisco marked this pull request as ready for review July 19, 2020 12:46
Copy link
Member

@rachelcarmena rachelcarmena left a comment

Choose a reason for hiding this comment

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

Thank you so much @pablisco , super useful in order not to miss new modules 👏

include 'arrow-fx-mtl'
include 'arrow-incubator-test'
autoModule {
ignore(":arrow-docs")
Copy link
Member

Choose a reason for hiding this comment

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

Yes, it's intentional. arrow-docs modules have a huge amount of dependencies so they are just included when generating API docs.

settings.gradle Outdated
Comment on lines 1 to 4
plugins {
id "com.pablisco.gradle.automodule" version "0.12"
}

Copy link
Member

Choose a reason for hiding this comment

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

Please, create a branch with the same name in arrow repository and locate that version in gradle.properties (checks will take into account all the open pull requests with the same branch name).

Copy link
Member

Choose a reason for hiding this comment

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

So sorry Pablisco, it's not working because properties are included via COMMON_SETUP in build.gradle. However, it's not possible to do the same for settings.gradle because of project consideration:

Could not get unknown property 'project' for settings 'arrow-incubator' of type org.gradle.initialization.DefaultSettings ('arrow/setup.gradle' line: 43')

So it should be changed. Please, create an issue to be able to have this version in arrow repository and it will be reviewed asap. Meanwhile, please, locate the version in settings.gradle as before. Sorry!

@rachelcarmena rachelcarmena merged commit 39c544b into master Aug 4, 2020
@rachelcarmena rachelcarmena deleted the pabs-automodule branch August 4, 2020 09:24
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.

None yet

2 participants