Slackbot
07/24/2023, 7:02 PMTom Koptel
07/24/2023, 7:13 PMSimpleWork
seems to be deprecated https://github.com/johnrengelman/shadow/issues/326 and should be already removed. Can you modify source code to use API suggested on Github?sathvik gontla
07/24/2023, 7:39 PMTom Koptel
07/24/2023, 7:42 PM:NewInfraSupportTool
. Some of those creates :buildrpm
task. The one seems to be using the deprecated APIsathvik gontla
07/24/2023, 7:46 PMsathvik gontla
07/24/2023, 7:46 PMTom Koptel
07/24/2023, 7:47 PMRpm
being at fault. Please, check the task implementation details.sathvik gontla
07/25/2023, 12:51 PMsathvik gontla
07/25/2023, 2:05 PMTask :NewInfraSupportTool:buildrpm FAILED
15:34:34 :NewInfraSupportTool:buildrpm (Thread[Execution worker for ':',5,main]) completed. Took 3.414 secs.
15:34:34
15:34:34 FAILURE: Build failed with an exception.
15:34:34
15:34:34 * What went wrong:
15:34:34 Execution failed for task ':NewInfraSupportTool:buildrpm'.
15:34:34 > org/gradle/api/internal/tasks/SimpleWorkResult
Tom Koptel
07/25/2023, 2:33 PM--warning-mode all
or modify gradle.properties
with org.gradle.warning.mode=(all,none,summary)
It is possible that it will reveal more information and you can track down the dependency at fault. With the given output I can only speculate that an issue is around:
SimpleWorkResult has been removed โ use WorkResult.didWork.
as mentioned in https://docs.gradle.org/current/userguide/upgrading_version_4.htmlsathvik gontla
07/25/2023, 2:49 PMTom Koptel
07/25/2023, 2:51 PMSimpleWorkResult
. When did you received an error? Did you made any dependency changes recently in the project? Try to git bisect 2 different revisions on your repo to identify the commit at fault and see what might caused the SimpleWorkResult to leak into your build config.sathvik gontla
07/25/2023, 2:52 PMsathvik gontla
07/25/2023, 2:54 PMsathvik gontla
07/25/2023, 2:54 PMTom Koptel
07/25/2023, 2:55 PM3.4
+ --warning-mode all
and fix warnings. Then repeat for 4.x and 5.x Gradle versions.sathvik gontla
07/25/2023, 2:59 PM