Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10213

Update build.gradle to the latest dependencies

    XMLWordPrintableJSON

Details

    • Task
    • Status: In Progress
    • Trivial
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • Gradle
    • None

    Description

      This is an umbrella task for its action subtasks, please do not close, thanks.

      We want to check from time to time if we need to update the dependencies.

      It's easily done with the gradle-versions-plugin which analyzes the dependencies and checks if there are newer versions available.

      Running the check with

      gradlew -PenableDependencyUpdates dependencyUpdates -Drevision=release
      

      We get a list of dependencies to update.
      Another option is to use

      gradlew -PenableDependencyUpdates useLatestVersions && gradlew -PenableDependencyUpdates useLatestVersionsCheck
      

      but useLatestVersionsCheck may fail. So it's like if you were using useLatestVersions (which does not fail) alone. Hence with all updates put in. With the current comments about versions in dependencies.gradle it's now reasonable to use (2024-12-13).

      We have problems with a number of libs. We keep comments in the main build.gradle for special updating issues. Be sure to check the main build.gradle. Some Java classes need internal versions update too:

      Also Solr et Lucene should use the same version, luceneMatchVersion should be updated in solrconfig.xml

      Attachments

        1. OFBIZ-10213.patch
          1 kB
          Jacques Le Roux
        2. OFBIZ-10213.patch
          1 kB
          Jacques Le Roux
        3. OFBIZ-10213.patch
          1.0 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: