Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Gradle 7.2 #3803

Merged
merged 2 commits into from Sep 24, 2021
Merged

Update to Gradle 7.2 #3803

merged 2 commits into from Sep 24, 2021

Conversation

jelovirt
Copy link
Member

Description

Update to build scripts to work with Gradle 7.2.

Motivation and Context

Keep up with Gradle development and make it easier for docs repo to also use new Gradle version.

How Has This Been Tested?

Build and distribution build works.

Type of Changes

  • New feature (non-breaking change which adds functionality)

Documentation and Compatibility

None

@jelovirt jelovirt added priority/medium Medium (or unknown) priority issue enhancement Changes to an existing feature build Changes to DITA-OT build scripts CI Continuous integration problems labels Sep 19, 2021
@jelovirt jelovirt added this to In progress in 3.7 via automation Sep 19, 2021
@jelovirt jelovirt force-pushed the feature/gradle-7-2 branch 2 times, most recently from 69e9ddb to a5ee4ef Compare September 19, 2021 16:47
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the minimal upgrade path per Gradle docs:

Note that running the wrapper task once will update gradle-wrapper.properties only, but leave the wrapper itself in gradle-wrapper.jar untouched. This is usually fine as new versions of Gradle can be run even with ancient wrapper files. If you nevertheless want all the wrapper files to be completely up-to-date, you’ll need to run the wrapper task a second time.

In dita-ot/docs#355, I also upgraded the wrapper.

Shall we do that here too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'll update the wrapper just in case

Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
@jelovirt jelovirt merged commit a3a7483 into develop Sep 24, 2021
3.7 automation moved this from In progress to Done Sep 24, 2021
@jelovirt jelovirt deleted the feature/gradle-7-2 branch September 24, 2021 06:06
@jelovirt jelovirt added this to the Next milestone Sep 24, 2021
@jelovirt jelovirt self-assigned this Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes to DITA-OT build scripts CI Continuous integration problems enhancement Changes to an existing feature priority/medium Medium (or unknown) priority issue
Projects
No open projects
3.7
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants