Skip to content

Upgrade build to Gradle 3.2.1 [SPR-14906] #19472

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

Closed
spring-projects-issues opened this issue Nov 14, 2016 · 4 comments
Closed

Upgrade build to Gradle 3.2.1 [SPR-14906] #19472

spring-projects-issues opened this issue Nov 14, 2016 · 4 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 14, 2016

Juergen Hoeller opened SPR-14906 and commented

Gradle 3.2 is out now...


Issue Links:

Referenced from: commits 04ed591, 57130b2

0 votes, 5 watchers

@spring-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

It seems that our build is not compatible with Gradle 3.2. Specifically, it seems that the "spring-oxm:genJaxb" thinks it's up to date, while it actually isn't. The following is an excerpt from a grade clean test when running on 3.2:

:spring-messaging:processResources UP-TO-DATE
:spring-messaging:classes
:spring-messaging:jar
:spring-oxm:genCastor
[ant:javac] : warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
:spring-oxm:genJaxb UP-TO-DATE
:spring-oxm:compileTestJava
/Users/arjen/Projects/Spring/spring-framework/spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2MarshallerTests.java:27: error: package org.springframework.oxm.jaxb.test does not exist
import org.springframework.oxm.jaxb.test.FlightType;
...

@spring-projects-issues
Copy link
Collaborator Author

Brian Clozel commented

Strange, while testing out things with a few changes I'm preparing, I didn't run into this issue and it seems our inputs/outputs configuration for those tasks is perfectly fine according to the reference documentation.

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

Arjen Poutsma I have those warnings but not the compilation failure. And I have those warnings with Gradle 3.1. How can I reproduce?

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

There's a Gradle 3.2.1 release in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants