Skip to content

Upgrade build to Gradle 2.14.1 [SPR-14362] #18934

Closed

Description

@spring-projects-issues

Sam Brannen opened SPR-14362 and commented

  • Upgrade the build to Gradle 2.14 once master has been switched to 5.0.
  • Upgrade the build to Gradle 2.14.1 once it has been released.

Issue Links:

Activity

  1. spring-projects-issues commented on Jun 14, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    Resolved in GitHub commit 2fd4462:

    Upgrade build to Gradle 2.14

    In the process of upgrading the build to use Gradle 2.14, the
    setFieldOnLegacyEntityWithSideEffectsInToString() test method in
    ReflectionTestUtilsTests began to fail. The reason is that the log
    level for ReflectionTestUtils is now DEBUG by default with Gradle 2.14.
    The apparent cause is that log4j was present on the test runtime
    classpath for the spring-test module with all previous versions of
    Gradle (via a transitive optional dependency from another project that
    spring-test depends on). Thus the configuration in log4j.properties in
    spring-test was previously honored, but with Gradle 2.14 a different
    commons logging implementation is picked up.

    Thus, in addition to upgrading the build to Gradle 2.14, this commit
    introduces an explicit test runtime dependency on log4j in the
    spring-test module.

    The discovered bug in ReflectionTestUtils regarding DEBUG log level
    will be addressed separately.

  2. spring-projects-issues commented on Jun 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Stéphane Nicoll commented

    I think we had that conversation before. 4.3 GA is out and I'd like we avoid to upgrade aggressively the build infrastructure. We can obviously resume this once master becomes 5.0 SNAP

  3. spring-projects-issues commented on Jun 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    OK. I'll revert the change in master and assign this issue to 5.0 M1.

  4. spring-projects-issues commented on Jun 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Gradle 2.14 seems to be the end of the 2.x line, so generally worth upgrading to in the 4.3.x line... at some point at least.

  5. spring-projects-issues commented on Jun 15, 2016

    @spring-projects-issues
    CollaboratorAuthor

    Stéphane Nicoll commented

    Given the extensive maintenance period of 4.3 I agree but I am not keen on doing this right now. Especially with regards to the upcoming 4.3.1.RELEASE.

  6. added this to the 5.0 M1 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions