jesterj icon indicating copy to clipboard operation
jesterj copied to clipboard

Deprecation warning in build

Open nsoft opened this issue 8 years ago • 2 comments

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.

nsoft avatar Sep 30 '16 13:09 nsoft

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.)

nsoft avatar May 10 '20 21:05 nsoft

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

nsoft avatar May 10 '20 22:05 nsoft

We are already on 7.6 this is resolved

nsoft avatar Feb 21 '23 17:02 nsoft