Ignore Gradle Build Failure and continue build script?

后端 未结 2 1136
逝去的感伤
逝去的感伤 2020-12-17 16:50

Managing Android\'s dependencies with Gradle is done in a weird way. They have to be downloaded differently into a local repo. This is a pain when setting up CI build as the

2条回答
  •  醉酒成梦
    2020-12-17 17:22

    add this in the build.gradle file :

    tasks.withType(JavaCompile) {
        options.failOnError(false)
    }
    

提交回复
热议问题