Evans Ye created BIGTOP-3180:
--------------------------------
Summary: Gradle 5 incompatible issue
Key: BIGTOP-3180
URL: https://issues.apache.org/jira/browse/BIGTOP-3180
Project: Bigtop
Issue Type: Sub-task
Affects Versions: 1.3.0
Reporter: Evans Ye
Assignee: Evans Ye
After upgraded to gradle 5.2 in BIGTOP-3177. There are incompatible issue for
gradle filetree API:
{code}
> Task :bigtop-tomcat-sdeb FAILED
Task ':bigtop-tomcat-sdeb' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Custom actions are attached to task ':bigtop-tomcat-sdeb'.
Starting process 'command 'tar''. Working directory:
/bigtop/build/bigtop-tomcat/deb/bigtop-tomcat-6.0.45 Command: tar
--strip-components 1 -xf
/bigtop/build/bigtop-tomcat/deb/bigtop-tomcat-6.0.45/../bigtop-tomcat_6.0.45.orig.tar.gz
Successfully started process 'command 'tar''
:bigtop-tomcat-sdeb (Thread[Execution worker for ':',5,main]) completed. Took
0.135 secs.
FAILURE: Build failed with an exception.
* Where:
Script '/bigtop/packages.gradle' line: 400
* What went wrong:
Execution failed for task ':bigtop-tomcat-sdeb'.
> No signature of method:
> org.gradle.api.internal.file.collections.DefaultConfigurableFileTree.copy()
> is applicable for argument types:
> (packages_3u7wau7t5reuo24t3ysv29i35$_run_closure11$_closure27$_closure58)
> values:
> [packages_3u7wau7t5reuo24t3ysv29i35$_run_closure11$_closure27$_closure58@f15af2e]
Possible solutions: chop([I), sort(), any(), drop(int),
join(java.lang.String), tap(groovy.lang.Closure)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)