Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Updated 14 December 2016
Gradle Command Line flags allow us to monitor and control the gradle activity performed in the application. We can use various flags to see what is happening and manipulate it, during the build process.
This monitoring and controlling include Logging, Listing Tasks, Profiling and like that.
In this blog, we are going to see how Profiling can be done.
The --profile command line option will record some useful timing information while your build is running and write a report to the build/reports/profile directory. The report will be named using the time when the build was run.
--profile
build/reports/profile
This report lists summary times and details for both the configuration phase and task execution. The times for configuration and task execution are sorted with the most expensive operations first. The task execution results also indicate if any tasks were skipped (and the reason) or if tasks that were not skipped did no work.
Builds which utilize a buildSrc directory will generate a second profile report for buildSrc in the buildSrc/build directory.
buildSrc/build
Here is the complete list of Gradle Flag available
https://docs.gradle.org/current/userguide/gradle_command_line.html
We can use GUI to add these gradle command line flags from
File > Settings…(Ctrl _ Alt + S) > Build, Execution, Deployment > Compiler (Command-line Options)
Stay Updated !!
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.