Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-77441

Allow the Gradle "baseline" task to compare multiple jars from different major versions

    Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed

      Description

      Change the Gradle Baseline plugin to support a "hint" major version (in a file called .lfrrelease-lowest-major-version):

      • if on master, if there's no hint, then break the baseline
      • if there is no hint, keep the existing logic
      • if there is a hint with version L <= M and we're running baseline on module M.x.y, then call baseline multiple times, using these as baseline, and the first check that fails, breaks the baseline:
        1. [M.0.0, M.x.y)
        2. [(M-1).0.0, M.0.0)
        3. [(M-2).0.0, (M-1).0.0)
        4. ...
        5. [L.0.0, (L+1).0.0)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.0 DXP FP39
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                Master