[ 
https://issues.apache.org/jira/browse/BEAM-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654950#comment-16654950
 ] 

Michael Luckey commented on BEAM-4042:
--------------------------------------

Although this certain bug was apparently 
[fixed|https://github.com/johnrengelman/shadow/pull/329] in version 2.0.2, I do 
understand this ticket to have a broader scope.

For instance, we do have lots of task.leftShift within our build files, which 
will prevent migration to Gradle 5. So I d say. it is worth getting an overview 
and start removing these issues.

> Get rid of deprecated gradle API
> --------------------------------
>
>                 Key: BEAM-4042
>                 URL: https://issues.apache.org/jira/browse/BEAM-4042
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system
>            Reporter: Romain Manni-Bucau
>            Priority: Minor
>
> {code}
> > Task :beam-model-pipeline:shadowJar
> The SimpleWorkResult type has been deprecated and is scheduled to be removed 
> in Gradle 5.0. Please use WorkResults.didWork() instead.
>         at 
> org.gradle.api.internal.tasks.SimpleWorkResult.<init>(SimpleWorkResult.java:34)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
>         at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at 
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
>         at 
> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
>         at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
>         at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
>         at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
>         at 
> com.github.jengelman.gradle.plugins.shadow.tasks.ShadowCopyAction.execute(ShadowCopyAction.groovy:99)
> {code}
> to ensure the build output is as expected as possible (no exception in the 
> build process when "green") this kind of stack should be fixed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to