Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16432

Upgrade the gradle wrapper to 7.5.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0, 9.1
    • main (10.0), 9.2
    • Build
    • None

    Description

      To upgrade the build system to the latest gradle version, I ran the following command after installing the gradle snap on my system:

      gradle wrapper --gradle-version 7.5.1

      Then I had to update the version number to 7.5.1 in two files relative to the root of the repo's working dir:

      gradle/validation/check-environment.gradle
      gradle/wrapper/gradle-wrapper.jar.version

      Doing that resulted in the attached patch.

      I tested with "./gradlew precommit -Pvalidation.git.failOnModified=false" on branch_9x and main with OpenJDK 17 after I did this upgrade.  Both passed.  Does it need any more validation before committing to main?  Is it something that should be backported to branch_9x?

      This gradle upgrade gets us Java 18 support, but not Java 19.

       

      Attachments

        1. solr-upgrade-gradle-7.5.1.patch
          16 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              krisden Kevin Risden
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h