You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2018/04/10 12:17:00 UTC

[jira] [Created] (BEAM-4042) Get rid of deprecated gradle API

Romain Manni-Bucau created BEAM-4042:
----------------------------------------

             Summary: 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
            Assignee: Davor Bonaci


{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)