-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
If the P4CONFIG environment variable is defined (for use with Perforce) I get a Gradle build error (see below for details...).
Looking at PerforceScmProvider.groovy it seems to be related to another environment variable WORKSPACE which was not defined (cause of the null error). Setting export WORKSPACE=. seems to workaround the issue.
Using Gradle Wrapper: gradle-6.1.1-all.zip
Gradle build error:
A problem occurred configuring root project 'p4search-filter'.
> Failed to notify project evaluation listener.
> Ambiguous method overloading for method java.io.File#<init>.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.String]
[class java.net.URI]
...
Stack trace:
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.String]
[class java.net.URI]
at nebula.plugin.info.scm.PerforceScmProvider.calculateModuleSource(PerforceScmProvider.groovy:23)
at nebula.plugin.info.scm.PerforceScmProvider$calculateModuleSource.callCurrent(Unknown Source)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels