IntelliJ IDEA code style settings and code quality checks for Prolific's Android projects.
Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 22 commits behind prolificinteractive:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
quality
README.md
install.sh

README.md

Android Code Styles and Quality Checks

Android Studio code style settings and code quality configs for Prolific's Android projects.

Installation for Code Styles

  • Run the install.sh script.
  • Restart Android Studio if it's running.
  • Open Android Studio Project Settings -> Code Styles, change the code style for the project to the one you want.

Adding Code Quality Checks to Project

  • Copy the quality folder to your project folder.

  • In your app/build.gradle file add the following lines whereever you define plugins:

    • apply from: '../quality/quality.gradle'
    • apply from: '../quality/jacoco/jacoco.gradle'
  • Run the task using ./gradlew check

License

Public domain