JAVA 11 or 17
Android SDK
Android Studio IDE
Clone the project to specified folder and import it into Android Studio
git clone https://github.com/preethiboienwar/COEtask.git
Now we can run the project
Generate APK in Debug mode
./gradlew assembleDebug
Generate APK in Release mode
./gradlew assembleRelease
To run the lint
./gradlew lint
For formatting kotlin code we use ktlint. Below commands are used to find and format the code
When you run the below command the files which need formatting are displayed
./gradlew ktlint
Below command formats the required files
./gradlew ktlintFormat
We need JAVA 11 or 17 for sonarqube
To run sonarqube
./gradlew sonar -Dsonar.projectKey={project-name} -Dsonar.host.url=http://localhost:9000 -Dsonar.login={token generated while integration}