Skip to content

Raise the minimum supported version of Gradle to 4.x #9516

Closed

Description

@wilkinsona

Gradle 4.0 has been released. Given that 2.0 doesn't GA until November, I think we should seriously consider requiring Gradle 4.x in 2.0. Doing it now is, perhaps, a little too aggressive. Waiting a month or two for things to settle down feels about right to me. That would also give the IDEs a chance to catch up if necessary.

Activity

  1. added this to the 2.0.0.M4 milestone on Jun 14, 2017
  2. wilkinsona commented on Jun 14, 2017

    @wilkinsona
    MemberAuthor

    One advantage of requiring 4.0 is that we can drop our use of convention mapping (here's one example), which requires the use of internalish API, in favour of the new PropertyState support.

  3. michael-barker commented on Jun 16, 2017

    @michael-barker

    Is it safe to use 4.x with Spring Boot 1.5.x as well as Spring Cloud?

  4. wilkinsona commented on Jun 16, 2017

    @wilkinsona
    MemberAuthor

    @michael-barker It may work (I haven't tried), but it isn't supported.

  5. michael-barker commented on Jun 16, 2017

    @michael-barker

    @wilkinsona I tried it out 4.x with several of our projects and didn't run into any major issues. There were a couple dependencies that resolved differently but really this was probably a problem that we had to begin with that didn't manifest itself in 3.x. I was able to resolve any problems I encountered.

  6. wilkinsona commented on Jun 16, 2017

    @wilkinsona
    MemberAuthor

    @michael-barker That's really useful info. Thank you.

  7. wilkinsona commented on Jul 19, 2017

    @wilkinsona
    MemberAuthor

    There's a bug in 4.0 that can prevent exclusions from working properly. If we raise the minimum to 4.x, we should probably require 4.1 or later.

  8. eriwen commented on Jul 19, 2017

    @eriwen

    Hi @wilkinsona, I have suggested that we publish Gradle 4.0.2 with a fix for the referenced bug.

    My hope is that your compatibility convention can be "latest patch release of Gradle 4.x".

  9. wilkinsona commented on Jul 19, 2017

    @wilkinsona
    MemberAuthor

    @eriwen Thanks, that would be appreciated if you can do it. However, if the command line @Option enhancement lands in 4.x, we may end up requiring that anyway.

  10. eriwen commented on Jul 19, 2017

    @eriwen

    @wilkinsona note that Gradle 4.1 is locked so earliest possible for @Option is 4.2 shipping in September.

  11. changed the title [-]Raises the minimum supported version of Gradle to 4.x[/-] [+]Raise the minimum supported version of Gradle to 4.x[/+] on Jul 21, 2017
  12. wilkinsona commented on Jul 28, 2017

    @wilkinsona
    MemberAuthor

    I've opened a separate issue to track replacing convention mappings with the use of the new property state API. I have some reservations about doing so (see the issue for details) and think we should consider it separately to a Gradle version bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions