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

Compilation supports add-exports/add-opens with toolchains #2136

Merged
merged 2 commits into from
Mar 28, 2022

Conversation

carterkozak
Copy link
Contributor

Using workaround suggested by:
gradle/gradle#18824 (comment)

==COMMIT_MSG==
Compilation supports add-exports/add-opens with toolchains
==COMMIT_MSG==

@changelog-app
Copy link

changelog-app bot commented Mar 28, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Compilation supports add-exports/add-opens with toolchains

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from CRogers March 28, 2022 15:09
@carterkozak carterkozak requested review from fawind and removed request for CRogers March 28, 2022 15:09
@@ -68,32 +68,31 @@ public void apply(Project project) {

// javac isn't provided `--add-exports` args for the time being due to
// https://github.com/gradle/gradle/issues/18824
if (project.hasProperty("add.exports.to.javac")) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Large diff is the result of removing this conditional, the rest is formatting

Copy link
Contributor

@fawind fawind left a comment

Choose a reason for hiding this comment

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

Looks good! Let's see for how long this workaround will continue to work ^^

@bulldozer-bot bulldozer-bot bot merged commit 5c1fc50 into develop Mar 28, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/compiler_exports_opens branch March 28, 2022 15:59
@svc-autorelease
Copy link
Collaborator

Released 4.80.0

This was referenced Mar 28, 2022
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Mar 28, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.80.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Compilation supports add-exports/add-opens with toolchains | palantir/gradle-baseline#2136 |


## 4.81.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Javadoc tasks supporty BaselineModuleJvmArgs | palantir/gradle-baseline#2137 |


## 4.82.0
_Automated release, no documented user facing changes_


To enable or disable this check, please contact the maintainers of Excavator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants