Gradle build finished with 200 error(s) - change limit in android studio

后端 未结 3 1625
别那么骄傲
别那么骄傲 2020-12-08 01:17

MAIN QUESTION

The main question is still unanswered: Is there a way to change the limit that is printed to the console in android studio?

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 01:49

    Also, the Kotlin DSL equivalent is:

     gradle.projectsEvaluated {
            tasks.withType(JavaCompile::class) {
                options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
            }
        }
    

提交回复
热议问题