Skip to content

Conversation

ashwinpankaj
Copy link
Contributor

@ashwinpankaj ashwinpankaj commented Apr 27, 2022

Related to #20579

Signed-off-by: Ashwin Pankaj apankaj@confluent.io

@bot-gradle bot-gradle added the from:contributor PR by an external contributor label Apr 27, 2022
@ijuma ijuma mentioned this pull request Apr 27, 2022
12 tasks
@ijuma
Copy link
Contributor

ijuma commented Apr 27, 2022

Thanks for the PR. Do we need to add tests?

@donat donat self-requested a review April 28, 2022 09:18
@ashwinpankaj
Copy link
Contributor Author

@donat can you please take a look at the latest changes?

Copy link
Member

@donat donat left a comment

Choose a reason for hiding this comment

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

Sorry for the late reply. Looks good!

I only found one thing to improve: we should use Gradle's object factory to avoid the null check for the new property. It's the same pattern as what GroovyCompileOptions uses.

@ashwinpankaj ashwinpankaj requested a review from pioterj as a code owner May 9, 2022 09:46
@donat donat removed the request for review from pioterj May 9, 2022 09:47
@gradle gradle deleted a comment from donat May 9, 2022
@donat
Copy link
Member

donat commented May 9, 2022

@bot-gradle test rfm please

@gradle gradle deleted a comment from donat May 9, 2022
@bot-gradle
Copy link
Collaborator

OK, I've already triggered the following builds for you:

@ashwinpankaj
Copy link
Contributor Author

@donat is there a doc on the release schedule for gradle ? I would like to know when this will be available. Also, do we have a process for backporting the fix to a previous release?

@ijuma
Copy link
Contributor

ijuma commented May 13, 2022

@donat any updates on getting this merged?

@ashwinpankaj
Copy link
Contributor Author

@donat any updates on merging this PR ?

@donat donat added this to the 7.6 RC1 milestone May 20, 2022
@donat
Copy link
Member

donat commented May 20, 2022

The changes unearthed an internal issue. I started investigating a couple of days ago but I got dragged into another task. Nonetheless, you can expect this feature to be part of Gradle 7.6.

Signed-off-by: Ashwin Pankaj <apankaj@confluent.io>
@donat
Copy link
Member

donat commented May 31, 2022

@bot-gradle test and merge

@gradle gradle deleted a comment from donat May 31, 2022
@bot-gradle
Copy link
Collaborator

OK, I've already triggered a build for you.

@bot-gradle bot-gradle merged commit ce83862 into gradle:master May 31, 2022
@ashwinpankaj ashwinpankaj deleted the ashwinpankaj/scala branch May 31, 2022 15:37
bot-gradle added a commit that referenced this pull request Jul 21, 2022
…ptions.keepAliveMode property

#20580 introduced `keepAliveOption`. The changes work fine, although a few things are missing, fixed by this PR:
- Add test coverage
- Rename keepAliveOption to keepAliveMode
- Get ObjectFactory reference once per AbstractScalaCompile constructor
- Set convention value in ScalaBasePlugin class
- Use enum property to enforce configuration time validation errors

Co-authored-by: Donat Csikos <donat@gradle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from:contributor PR by an external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants