jesterj
jesterj copied to clipboard
Deprecation warning in build
Need to investigate and fix:
Manifest.writeTo(Writer) has been deprecated and is scheduled to be removed in Gradle 4.0. Please use Manifest.writeTo(Object) instead.
Well this issue has kinda got stale, but there's new warnings, so migrating to consider these:
> Configure project :
The maven plugin has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the maven-publish plugin instead.
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead.
at build_4madisb62rdkyl0bczlj8nwqk$_run_closure8.doCall(/home/gus/projects/jesterj/code/jesterj/code/ingest/build.gradle:135)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The testCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testImplementation configuration instead.
at build_4madisb62rdkyl0bczlj8nwqk$_run_closure8.doCall(/home/gus/projects/jesterj/code/jesterj/code/ingest/build.gradle:166)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The archiveName property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveFileName property instead.
at build_4madisb62rdkyl0bczlj8nwqk$_run_closure13.doCall(/home/gus/projects/jesterj/code/jesterj/code/ingest/build.gradle:211)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
There's also a warning about maven plugin going away, and using maven-publish, which is far harder to deal with..
https://medium.com/@nmauti/sign-and-publish-on-maven-central-a-project-with-the-new-maven-publish-gradle-plugin-22a72a4bfd4b
but that should possibly be modified as:
https://medium.com/@jeremie.bresson/this-is-a-great-article-it-helped-me-to-start-9a8e91dab005
We are already on 7.6 this is resolved