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

Bump Gradle to 8.6 #21

Closed
wants to merge 7 commits into from
Closed

Conversation

theqeeqez
Copy link
Contributor

Bump Gradle to 8.6 and Get rid of Deprecation messages

What is done:

  1. Run ./gradlew wrapper --gradle-version=8.6 to switch to the new gradle
  2. Run ./gradlew build --warning-mode all to check all the deprecations we have
  3. Bump minor versions
    • org.jfrog.buildinfo:build-info-extractor-gradle from 5.1.10 to 5.1.14
    • org.junit:junit-bom from 5.10.1 to 5.10.2

Fixed Deprecations:

  1. .getBuildDir() now .getLayout().getBuildDirectory().getAsFile().get() in SpringPublishLocalPlugin.java
  2. Bump dependencies. Older versions use deprecated gradle features
    • io.github.gradle-nexus:publish-plugin from 1.3.0 to 2.0.0-rc-2
    • spring-javaformat-gradle-plugin from 0.0.39 to 0.0.41
  3. JUnit initialization should be similar to gradle docs, otherwise gradle shows deprecation message (message appears time to time)

@sjohnr sjohnr self-assigned this Apr 17, 2024
@sjohnr sjohnr added the type: dependency-upgrade A dependency upgrade label Apr 17, 2024
@sjohnr sjohnr added this to the 1.0.3 milestone Apr 17, 2024
sjohnr added a commit to sjohnr/spring-security-release-tools that referenced this pull request Apr 17, 2024
@sjohnr
Copy link
Collaborator

sjohnr commented Apr 17, 2024

Thanks @qeeqez! This is now merged to main as c526b3b along with polish commit 4e8587c.

@sjohnr sjohnr closed this Apr 17, 2024
@theqeeqez theqeeqez deleted the bump-gradle-wrapper branch April 17, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade A dependency upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants