Skip to content

Disable module inference in Eclipse#71649

Merged
nik9000 merged 1 commit intoelastic:masterfrom
nik9000:eclipse_you_so_silly
Apr 13, 2021
Merged

Disable module inference in Eclipse#71649
nik9000 merged 1 commit intoelastic:masterfrom
nik9000:eclipse_you_so_silly

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Apr 13, 2021

We recently upgrade to gradle 7.0 (#69096) which turned on module
inference by default. I'm sure that's lovely, but its broken eclipse. We
should probably support modules one day, but that day ain't today. This
turns off module inference for eclipse so it can continue compiling
things just like it did yesterday.

Closes #71648

@nik9000 nik9000 added >bug :Delivery/Build Build or test infrastructure v8.0.0 v7.13.0 labels Apr 13, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Apr 13, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

We recently upgrade to gradle 7.0 (elastic#69096) which turned on module
inference by default. I'm sure that's lovely, but its broken eclipse. We
should probably support modules one day, but that day ain't today. This
turns off module inference for eclipse so it can continue compiling
things just like it did yesterday.

Closes elastic#71648
@breskeby
Copy link
Copy Markdown
Contributor

Lgtm to unblock our eclipse users. I'll look into this again tomorrow and probably move this into our elasticsearch java plugin. But feel free to merge this into master

@nik9000 nik9000 merged commit 8c398b5 into elastic:master Apr 13, 2021
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Apr 13, 2021

So unblocked!

Have a good night!

breskeby pushed a commit to breskeby/elasticsearch that referenced this pull request Apr 14, 2021
We recently upgrade to gradle 7.0 (elastic#69096) which turned on module
inference by default. I'm sure that's lovely, but its broken eclipse. We
should probably support modules one day, but that day ain't today. This
turns off module inference for eclipse so it can continue compiling
things just like it did yesterday.

Closes elastic#71648
breskeby added a commit that referenced this pull request Apr 14, 2021
- Update gradle wrapper to gradle 7.0
- Remove deprecated usages to make build 7.0 compatible
- Fix excludes in docs snippet tasks (See gradle/gradle#16160 for details)
- Fix deprecation warnings in 7.0
- Add explicit dependencies that have been missed
- Make extract native licenses tasks output dir more explicit
- Use a snapshot of the ospackage plugin that includes a fix for 7.0 already
- fix test runtime classpath setup in repository-hdfs
- Make task dependency explicit to fix further deprecation warnings
- Remove manual check for http repo usages that has been deprecated in gradle 7.0
- Update spock to latest 2.0 milestone required for groovy 3

- Disable module inference in Eclipse (#71649)

We recently upgrade to gradle 7.0 (#69096) which turned on module
inference by default. I'm sure that's lovely, but its broken eclipse. We
should probably support modules one day, but that day ain't today. This
turns off module inference for eclipse so it can continue compiling
things just like it did yesterday.

Co-authored-by: Nik Everett <nik9000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v7.13.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eclipse complaining about classes accesible from more than one module

4 participants