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 a test for Gradle incremental compilation with AutoValue. #1076

Closed
wants to merge 22 commits into from

Conversation

eamonnmcmanus
Copy link
Member

@eamonnmcmanus eamonnmcmanus commented Apr 18, 2021

Partial fix for #1075. Still need a test for AutoFactory.

Many thanks to @tbroyer for help developing this.

@google-cla google-cla bot added the cla: yes label Apr 18, 2021
@eamonnmcmanus eamonnmcmanus marked this pull request as draft April 18, 2021 22:09
@eamonnmcmanus
Copy link
Member Author

Is this what you're looking for? https://github.com/actions/virtual-environments/blob/4a2e5bca16d99dcf4f1ee58a4305bff7cf957fe5/images/linux/scripts/installers/java-tools.sh#L70

Thanks for the pointer! That tells me what I had already discovered, that the Gradle installation directory is /usr/share/gradle-7.0, and also that GRADLE_HOME is incorrectly set to just /usr/share/gradle. So my hacky code to resolve the /usr/bin/gradle symlink looks like it's needed, at least for now.

@eamonnmcmanus eamonnmcmanus marked this pull request as ready for review April 19, 2021 01:21
Copy link
Contributor

@tbroyer tbroyer left a comment

Choose a reason for hiding this comment

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

I have comments but they are mostly nitpicking; this is good to go.

Comment on lines +93 to +98
<dependency>
<groupId>dev.gradleplugins</groupId>
<artifactId>gradle-test-kit</artifactId>
<version>6.8.3</version>
<scope>test</scope>
</dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey, didn't know about these redistributions (by former Gradle, Inc. employees), this is great!

Copy link
Member Author

@eamonnmcmanus eamonnmcmanus left a comment

Choose a reason for hiding this comment

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

I think this is OK now. It certainly is tedious to test by pushing and waiting!

copybara-service bot pushed a commit that referenced this pull request Apr 21, 2021
Partial fix for #1075. Still need a test for AutoFactory.

Many thanks to @tbroyer for help developing this.

Closes #1076.

RELNOTES=n/a
PiperOrigin-RevId: 369716434
copybara-service bot pushed a commit that referenced this pull request Apr 21, 2021
Partial fix for #1075. Still need a test for AutoFactory.

Many thanks to @tbroyer for help developing this.

Closes #1076.

RELNOTES=n/a
PiperOrigin-RevId: 369716434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants