Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4876

Update the build to modern Gradle

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Update the build to modern Gradle
    • Java Drivers
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • In Progress
    • 6
    • 2
    • 6
    • 100
    • Hide

      Engineer: Nabil Hachicha, Ross Lawley

      2025-01-21

      • Last two weeks?
        • Remove the Nebula plugin & Upgrade to Gradle 8 in progress, stopped this week due to a customer issue (investigation Help-65287)
        • Started looking at using precompiled script plugins but paused due to Spring Data work being more of a priority.
      • Focus over the next two weeks?
        • Finishing Nebula plugin migration
        • Starting on version catalogues JAVA-5291
      • Impediments encountered in the last two weeks?

       


      2025-02-03

      • Last two weeks?
        • Gradle updated to use version catalogs (JAVA-5291) in review. This is needed before starting (precompiled script plugins)
        • Remove the Nebula plugin & Upgrade to Gradle 8 in progress (working around some issue with transitive dependencies scopes) 
      • Focus over the next two weeks?
        • Finishing Upgrade to Gradle 8 (to unblock Maxim OIDC k8s tests on JAVA-5405).
        • Starting on precompiled script
      Show
      Engineer: Nabil Hachicha, Ross Lawley 2025-01-21 Last two weeks? Remove the Nebula plugin & Upgrade to Gradle 8 in progress, stopped this week due to a customer issue (investigation Help-65287) Started looking at using precompiled script plugins but paused due to Spring Data work being more of a priority. Focus over the next two weeks? Finishing Nebula plugin migration Starting on version catalogues JAVA-5291 Impediments encountered in the last two weeks? First responder SPARK-438 , WRITING-26649   2025-02-03 Last two weeks? Gradle updated to use version catalogs ( JAVA-5291 ) in review. This is needed before starting (precompiled script plugins) Remove the Nebula plugin & Upgrade to Gradle 8 in progress (working around some issue with transitive dependencies scopes)  Focus over the next two weeks? Finishing Upgrade to Gradle 8 (to unblock Maxim OIDC k8s tests on JAVA-5405 ). Starting on precompiled script

      The current build is confusing and hard to understand.

      This adds risk when changing the build and for managing it going forward.

      The core issues are:

      • Centralized configuration in the root build.gradle, making changes difficult to understand
      • Script plugins in the gradle directory
      • Non standard directory layout
      • Non standard dependencies library version information

      Recommend updating to use:

            Assignee:
            nabil.hachicha@mongodb.com Nabil Hachicha
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              None