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.gitNow we can run the project
Generate APK in Debug mode
./gradlew assembleDebugGenerate APK in Release mode
./gradlew assembleReleaseTo run the lint
./gradlew lintFor 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 ktlintBelow command formats the required files
./gradlew ktlintFormatWe 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}