https://gradle.com/ logo
Join Slack
Powered by
# releases-discussion
  • o

    Oleg Nenashev

    04/12/2024, 11:35 AM
    set the channel description: Any discussions about the recent releases and the features there. This is an addition to the #CJWG8VDM0 channel which we use for announcements
    πŸ€” 1
  • o

    Oleg Nenashev

    04/15/2024, 12:15 PM
    @Vladislav Chesnokov You will see the reason for this channel soon, I hope πŸ˜›
    πŸ‘Œ 1
  • o

    Oleg Nenashev

    04/15/2024, 12:16 PM
    set the channel topic: Gradle Build Tool 8.7 Release πŸš€ Overview: https://gradle-community.slack.com/archives/CJWG8VDM0/p1712921270824479
  • o

    Oleg Nenashev

    04/18/2024, 12:32 PM
    <!channel> The Gradle Build Tool 8.7 release stream is live:

    https://youtu.be/YnMAO_2grBQβ–Ύ

    ❀️ 1
  • o

    Oleg Nenashev

    04/18/2024, 12:35 PM
    We're experimenting with new formats, so any feedback is welcome!
    v
    • 2
    • 2
  • o

    Oleg Nenashev

    04/18/2024, 12:44 PM
    πŸ‘ et πŸ™‡ to @Jendrik Johannes for becoming the first ever non-Gradle Inc. presenter in the release video. We will be doing it more, and hopefully not just for the Gradle Build Tool core :)
  • o

    Oleg Nenashev

    04/18/2024, 12:46 PM
    And one of my next video goals is to ensure these videos go live within one week after the release is published
    πŸš€ 1
  • o

    Oleg Nenashev

    04/18/2024, 12:55 PM
    Speaking of the public roadmap, there are some changes there: https://github.com/orgs/gradle/projects/31 It is still WiP, but you can see there are now time horizons instead of quarters. The aspirational release milestones and quarters are now available in extra tabs
  • o

    Oleg Nenashev

    04/18/2024, 12:56 PM
    So, any comments about the features & Co in 8.7?
  • t

    Tapchicoma

    04/26/2024, 6:12 PM
    in Gradle 8.8 release notes - I suppose following is a typo and should be "Since Gradle 8.8 ..."
    Since Gradle 8.7, it's been possible for plugins to define their own dependencies-like block.
    v
    • 2
    • 1
  • v

    Vampire

    04/26/2024, 9:16 PM
    In the 8.8 release notes at "New Gradle lifecycle callbacks" links to https://docs.gradle.org/8.8-rc-1/javadoc/org/gradle/api/IsolatedAction.html which says > This approach ensures that sharing mutable state across targets via any means (including BuildService, which are not supported) is prevented. > But then the example shows how to use shared mutable state across two actions. What do I get wrong there?
    βž• 1
    o
    l
    r
    • 4
    • 4
  • r

    RenΓ©

    06/07/2024, 10:20 AM
    was there a change in behavior for
    -m
    flag? I noticed that its not passed down to included builds
    v
    • 2
    • 2
  • j

    Jakub Chrzanowski

    06/28/2024, 11:44 AM
    Hey, Gradle team! When do you plan to bring Kotlin 2.0+ to Gradle?
    v
    o
    • 3
    • 2
  • t

    Tapchicoma

    08/08/2024, 1:30 PM
    Looks like
    LifecycleAwareProject
    info is missing in 8.10-RC-1 release notes
    r
    • 2
    • 3
  • a

    Adam

    08/08/2024, 2:26 PM
    small mistake in the 8.10-RC1 release notes. https://github.com/gradle/gradle/issues/10867 is included, but it was actually closed as a duplicate.
    πŸ™Œ 1
    c
    l
    • 3
    • 5
  • a

    Alexander Likhachev

    08/15/2024, 7:08 PM
    A typo in the migration guide from Gradle 8.9 to 8.10: > Deprecated extending configurations in the same project It should be rephrased as it’s about deprecation of extending configurations from different projects
    πŸ‘ 2
  • e

    Eug

    02/13/2025, 12:50 PM
    Could I post a feature request here? Or discuss it?
    v
    o
    • 3
    • 5
  • l

    Louis Jacomet

    04/15/2025, 3:47 PM
    Hey @Suresh, Replying here to your report / question How is Gradle made aware of that added JDK with native image capability on Windows?
    s
    • 2
    • 13
  • s

    Scott Palmer

    07/21/2025, 2:19 PM
    Seeing an issue with 9.0-rc3 that I don't see with 8.14.3:
    Copy code
    ❯ gradle tasks
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/my-project/build.gradle' line: 31
    
    * What went wrong:
    A problem occurred evaluating root project 'my-project'.
    > Could not resolve all artifacts for configuration ':detachedConfiguration3'.
       > Cannot resolve external dependency org.springframework.boot:spring-boot-dependencies:3.5.0 because no repositories are defined.
         Required by:
             root project 'my-project'
    For context, here is the beginning of the project build file... note there are repositories defined.:
    Copy code
    ───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
           β”‚ File: build.gradle
    ───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       1   β”‚ plugins {
       2   β”‚     id 'java'
       3   β”‚     id 'maven-publish'
       4   β”‚     id 'jacoco'
       5   β”‚     alias(libs.plugins.cyclonedx)
       6   β”‚     alias(libs.plugins.openapi.generator)
       7   β”‚     alias(libs.plugins.shadow)
       8   β”‚     alias(libs.plugins.spotless)
       9   β”‚     alias(libs.plugins.spring.dependency.management)
      10   β”‚     alias(libs.plugins.spring)
      11   β”‚ }
      12   β”‚ 
      13   β”‚ group = 'my.company'
      14   β”‚ 
      15   β”‚ // disable building jar that contains only bytecode of your source code (slim jar)
      16   β”‚ // shadowJar will build jar that not only contains bytecode of your source code but also JARs from third parties
      17   β”‚ // We will be publishing only the shadow jar (fat jar) into maven repo and disabling the slim jar will help reduce cost and speed up build time.
      18   β”‚ jar.enabled = false
      19   β”‚ bootJar.enabled = false
      20   β”‚ 
      21   β”‚ // Required by task ':shadowJar' when the archive contains more than 65535 entries.
      22   β”‚ // Beta versions of "stripe-java" bring the archive over the limit.
      23   β”‚ tasks.withType(Zip) {
      24   β”‚      zip64 = true
      25   β”‚ }
      26   β”‚ 
      27   β”‚ configurations {
      28   β”‚     compileOnly {
      29   β”‚         extendsFrom annotationProcessor
      30   β”‚     }
      31   β”‚     all*.exclude module : 'spring-boot-starter-logging'
      32   β”‚ }
      33   β”‚ 
      34   β”‚ repositories {
      35   β”‚     mavenCentral()
      36   β”‚     mavenLocal()
      37   β”‚     maven {
      38   β”‚         name = 'GitHubPackages'
      39   β”‚         url = uri('<https://maven.pkg.github.com/my-company/my-other-project-0>')
      40   β”‚         // the "githubUser" and "githubToken" properties should be set
      41   β”‚         // by each developer individually under ~/.gradle/gradle.properties, e.g.:
      42   β”‚         // githubUser=my-github-username
      43   β”‚         // githubToken=42ed8...99a7c
      44   β”‚         credentials {
      45   β”‚             username = githubUser
      46   β”‚             password = githubToken
      47   β”‚         }
      48   β”‚     }
      49   β”‚     maven {
      50   β”‚         name = 'GitHubPackages'
      51   β”‚         url = uri('<https://maven.pkg.github.com/my-company/my-other-project-1>')
      52   β”‚         credentials {
      53   β”‚             username = githubUser
      54   β”‚             password = githubToken
      55   β”‚         }
      56   β”‚     }
      57   β”‚     maven {
      58   β”‚         name = 'GitHubPackages'
      59   β”‚         url = uri('<https://maven.pkg.github.com/my-company/my-other-project-2>')
      60   β”‚         credentials {
      61   β”‚             username = githubUser
      62   β”‚             password = githubToken
      63   β”‚         }
      64   β”‚     }
      65   β”‚ }
      66   β”‚ 
      67   β”‚ java {
      68   β”‚     toolchain { languageVersion = JavaLanguageVersion.of(21) }
      69   β”‚ }
    ... snipped the rest  ...
    Changing the
    build.gradle
    file so the repositories are defined before the configurations fixes the issue, but this was not required with Gradle 8.14.3
    v
    o
    l
    • 4
    • 30
  • j

    Jonathing

    10/30/2025, 11:10 AM
    Cheers to the latest release of Gradle 9.2.0 supporting a very nice version of Java's class file. That being said, is there any performance benefit to be had from using the Daemon JVM toolchains feature to set it as the same version as the project's language level? I've mostly been using JAVA_HOME to run Gradle the entire time (even in IDE). Though, IntelliJ is thankfully smart enough to de-bump the JDK version on older versions of Gradle, and I can use SDKMAN to swap the JDK for the current shell if I'm invoking Gradle through the terminal.
    a
    • 2
    • 1