Gradle Build via command line in Android Part – 3
In this Tutorial, we see them using the command line to build gradle in android. You can execute all the build tasks available to your Android project using the command line tool. It’s available different OS such as on Windows (gradlew.bat) and a shell script for Linux and Mac (gradlew.sh). If you have mac and ubuntu terminal you can fire query “./gradlew build” command and if you have window command prompt then fire query like “gradlew build”. After that, it showing the Build successful message. then you can check this build file in Gradle tab. If you want to create a library just you can fire command “./gradlew jar”. You want to check jar file in root folder Build. “./gradlew classes” using this command to create a class file.