what is compileDebugJavaWithJavac task?

android gradle

109 观看


35 作者的声誉

I found this task takes even half of total gradle execute task time. When I used -x to disable this task, everything seems still worked perfectly. So I want to know more about this task, and whether I should disable it.

作者: KFJK 的来源 发布者: 2017 年 9 月 15 日

回应 (1)


1179 作者的声誉


compileDebugJavaWithJavac is for check whether you follow the proper structure for Java code and compiler will check whether it makes sense or not .

If you disable it . It can create runtime error and your application may crash on various devices .


作者: chandrakant sharma 发布者: 15.09.2017 05:33