Adeel Malik
12/27/2022, 12:59 PMcheckStaging that checks lint and ktLintCheck and after that run all unit tests for the modules.
The problem is that even though ktLintCheck fails, the task keeps running and then fails after 8-11 minutes. I want the task to fail as soon as ktLintCheck failed. Any idea, how to do that?
task cleanAll(dependsOn: [':lib_mvp:clean', ':lib_service:clean', ':Dream:clean'])
task checkStaging(dependsOn: ['cleanAll',
':lib_mvp:lintDebug', ':lib_service:lintStagingDebug', ':Dream:lintStagingDebug',
':lib_mvp:ktlintCheck', ':lib_service:ktlintCheck', ':Dream:ktlintCheck',
':lib_mvp:testDebugUnitTest', ':lib_service:testStagingDebugUnitTest', ':Dream:testStagingDebugUnitTest'])
checkStaging.mustRunAfter cleanAll
Note: it’s build.gradle file which is in groovy.Vampire
12/27/2022, 3:09 PMorg.gradle.parallel or --parallel or --continue?Vampire
12/27/2022, 3:10 PMAdeel Malik
12/27/2022, 3:28 PMgradle.properties file, I don’t see the configuration that you are mentioning above.Vampire
12/27/2022, 5:45 PMVampire
12/27/2022, 5:45 PMAdeel Malik
12/27/2022, 6:05 PMorg.gradle.caching=trueVampire
12/27/2022, 6:08 PM