-
Notifications
You must be signed in to change notification settings - Fork 34
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
Upgrade Gradle wrapper to version 8.6 #520
Conversation
…gin`. `editorconfig-gradle-plugin` doesn't have sufficient support for `.editorconfig` properties: https://github.com/ec4j/editorconfig-gradle-plugin#how-it-works `editorconfig-checker` has been added in version 2.4.0 for linux amd64: https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/2.4.0 See also metafacture/metafacture-fix#179.
Disable Editorconfig plugin due to incompatibility; compatible version would raise minimum required Java version to 16. See also metafacture/metafacture-fix#341.
Possible next step: Address Gradle 9 deprecations.
Resolved with afbb5c8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I use (install
/ publishToMavenLocal
and check
) seems to work fine.
(Both on Java 8 and 11.)
I did notice this log output, but I'm also getting that on master
(even twice there):
Task :metafacture-biblio:compileTestJava
[Fatal Error] byte-buddy-parent-1.9.10.pom:789:1: Content is not allowed in trailing section.
Thanks for testing!
Hm, I've never seen this message. Still don't. Did you run on a |
No change with |
Just tested the publishing to oss.sonatype.org to publish it to maven central. However, the Re "signing": yes I would say we should provide that. And the |
No, I don't have any idea either. It seems to be published correctly to
|
- remove "artifacts" and add "artifact" to have javadoc and sources build - invoke `./gradlew publishToMavenLocal`: build and sign artifacts and put these into local maven repository - invoke `./gradlew publishToSonatype` to build, sign and upload artifacts to sonatype
Executing `./gradlew metafacture-runner:signArchives` builds signed distributions in metafacture-core/metafacture-runner/build/distributions/.
- add how to build and use distribution - fix formatting
- remove "artifacts" and add "artifact" to have javadoc and sources build - invoke `./gradlew publishToMavenLocal`: build and sign artifacts and put these into local maven repository - invoke `./gradlew publishToSonatype` to build, sign and upload artifacts to sonatype
Executing `./gradlew metafacture-runner:signArchives` builds signed distributions in metafacture-core/metafacture-runner/build/distributions/.
- add how to build and use distribution - fix formatting
|
I'm unclear as to what your removal of |
Co-authored-by: Jens Wille <[email protected]>
Co-authored-by: Jens Wille <[email protected]>
Co-authored-by: Jens Wille <[email protected]>
Re |
Updated Maintainer Guidelines. |
Resolves #484. What about secondary objective "Simplify the release process"?
Reviewers: Please verify that all use cases as well as release steps are still working.
Changes:
install
¹ ->publishToMavenLocal
,uploadArchives
->publishAllPublicationsToMavenRepository
: "The maven plugin has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the maven-publish plugin instead."publish
->publishAllPublicationsToGitHubPackagesRepository
(in.github/workflows/publish.yml
): Action is intended to "Publish package to GitHub Packages", so use specific task.editorconfig
->editorconfig-checker
: Editorconfig plugin is not compatible with Gradle 8.x ("void org.gradle.workers.WorkerExecutor.submit(java.lang.Class, org.gradle.api.Action)") and upgrading to a compatible version (0.1.0) would raise the minimum Java version requirement to 16 (see also Includeeditorconfig-checker
to complementeditorconfig-gradle-plugin
. metafacture-fix#179 and Upgrade Gradle wrapper to version 8.x. metafacture-fix#283). Surfaced some whitespace violations which had to be fixed.signing.required
: No longer dependent on presence of taskuploadArchives
. Is this needed?signing.signPom
,signArchives
(fix): No longer configured. Is this needed? Is it done by default now?testRuntime
->testRuntimeOnly
: "The testRuntime configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testRuntimeOnly configuration instead."runtime <configuration>
->runtimeClasspath.extendsFrom <configuration>
: "Adding a Configuration as a dependency is a confusing behavior which isn't recommended. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. If you're interested in inheriting the dependencies from the Configuration you are adding, you should use Configuration#extendsFrom instead."archiveName
->archiveFileName.get()
: "The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveFileName property instead."classifier
->archiveClassifier
: "Could not set unknown property 'classifier' for task [...] of type [...]."main
->mainClass
: "The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead."outputDir
->classesDirectory
: "The SourceDirectorySet.outputDir property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the classesDirectory property instead."(See also metafacture/metafacture-fix#57 and metafacture/metafacture-fix#341 as well as Upgrading Gradle 6 to 7 and Upgrading Gradle 7 to 8.)
Wiki changes (after pull request has been merged):
Possibly replace
gradlew publish
with./gradlew publishAllPublicationsToGitHubPackagesRepository
?¹ Kept for compatibility purposes, but deprecated.