Am 04.03.20 um 09:52 schrieb Guillaume Laforge:
I was trying to build on Java 11 and got

 > Ambiguous method overloading for method java.io.File#<init>.
   Cannot resolve which method to invoke for [null, class
java.lang.String] due to overlapping prototypes between:
         [class java.lang.String, class java.lang.String]
         [class java.io.File, class java.lang.String]

those constructors exist for a very long time already, so that should
not have been specific to Java 11. File and String should both have a
distance to Object of 1, since they are direct sub classes of Object.
And this fails with 2.5.7 for example as well... So the bug must be the
null value for the parent / first argument.


https://gradle.com/s/ydqvmbvngsshk

which means file(projectDir) gives null in the gradle biuld?

bye Jochen

Reply via email to