Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is compileDebugJavaWithJavac task?

Tags:

android

gradle

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.

like image 310
KFJK Avatar asked Jul 01 '26 01:07

KFJK


1 Answers

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 .

Thanks

like image 127
chandrakant sharma Avatar answered Jul 02 '26 15:07

chandrakant sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!