Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5197

Bump gradle to 7.4.2 and add checksum autoupdate

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.30.0
    • 1.33.0
    • build

    Description

      The problem with gradle update via

      ./gradlew wrapper --gradle-version <new_version> && ./gradlew autostyleApply
      

      it removes checksum from gradle/wrapper/gradle-wrapper.properties

      there could be added a task which could update checksum as well, e.g.

      tasks.wrapper {
          distributionType = Wrapper.DistributionType.BIN
          doLast {
              val sha256Uri = URI("$distributionUrl.sha256")
              val sha256Sum = String(sha256Uri.toURL().readBytes())
              propertiesFile.appendText("distributionSha256Sum=${sha256Sum}\n")
          }
      }
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Sergey Nuyanzin Sergey Nuyanzin
            Sergey Nuyanzin Sergey Nuyanzin
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 20m
                20m

                Slack

                  Issue deployment