gradle-one-jar icon indicating copy to clipboard operation
gradle-one-jar copied to clipboard

Manifest.writeTo(Writer) is deprecated and is removed in Gradle 4.0

Open olisikh opened this issue 7 years ago • 3 comments

In Gradle 4.0 method of Manifest interface DefaultManifest writeTo(Writer writer) is removed making this plugin incompatible with it.

A method org.gradle.api.java.archives.Manifest writeTo(Object path) could be used instead.

olisikh avatar Jun 30 '17 08:06 olisikh

Associated pull-request https://github.com/rholder/gradle-one-jar/pull/32

olisikh avatar Jul 10 '17 11:07 olisikh

:+1: merge it or we will fork next week.

sebastienvermeille avatar Aug 08 '17 06:08 sebastienvermeille

is this the reason for

Cannot convert the provided notation to a File or URI: java.io.BufferedWriter@2a8b7f7e.
The following types/formats are supported:
  - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
  - A String or CharSequence URI, for example 'file:/usr/include'.
  - A File instance.
  - A Path instance.
  - A URI or URL instance.

in 4.0?

nsoft avatar Aug 09 '17 13:08 nsoft