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

Update the build to modern Gradle

    • Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.5.0
    • Affects Version/s: None
    • Component/s: Build
    • Update the build to modern Gradle
    • Java Drivers
    • Not Needed
    • Done
    • 6
    • 2
    • 6
    • 100
    • None
    • 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

      2025-03-03

      • Last two weeks?
        • Gradle updated to Gradle 8 - ready for code review
        • Updated build to use precompile scripts in progress
      • Focus over the next two weeks?
        • Finishing work on precompiled scripts.
        • Add support for Optional dependencies
        • Refactor src directories into conventional layout
        • Get through code review and merge to main

      2025-03-17

      • Last two weeks?
        • All code in review and going through lots of one off testing

      2025-03-25

      • Last two weeks?
        • Finished and merged into main
      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 2025-03-03 Last two weeks? Gradle updated to Gradle 8 - ready for code review Updated build to use precompile scripts in progress Focus over the next two weeks? Finishing work on precompiled scripts. Add support for Optional dependencies Refactor src directories into conventional layout Get through code review and merge to main 2025-03-17 Last two weeks? All code in review and going through lots of one off testing 2025-03-25 Last two weeks? Finished and merged into main
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None
              None
              None