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

Fix Gradle 8 deprecations #4

Merged
merged 4 commits into from
Oct 14, 2024
Merged

Fix Gradle 8 deprecations #4

merged 4 commits into from
Oct 14, 2024

Conversation

shartte
Copy link

@shartte shartte commented Oct 14, 2024

ConfigureUtil has been deprecated

I also bumped the test to Gradle 8.10 since Gradle 8.x is all we're really using across NeoForged.

Bumping the test runs to Java 17 (which Gradle 8.10 wants) has the effect of breaking most tests since stripIndent() is now a native Java method, but it works differently from Gradles previous extension. stripIndent(true) forces the old Gradle behavior.

@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Oct 14, 2024

  • Publish PR to GitHub Packages

Last commit published: 7d2a309563f5bc6fec5299e473f11c83520be3dc.

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name 'Maven for PR #4' // https://github.com/neoforged/licenser/pull/4
        url 'https://prmaven.neoforged.net/licenser/pr4'
        content {
            includeModule('net.neoforged.licenser', 'net.neoforged.licenser.gradle.plugin')
            includeModule('net.neoforged.licenser', 'licenser')
        }
    }
}

@shartte shartte merged commit 3cd3f91 into master Oct 14, 2024
2 checks passed
@neoforged-releases
Copy link

🚀 This PR has been released as licenser version 0.7.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants