Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
659 changes: 659 additions & 0 deletions APP_ARCHITECTURE.md

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@ plugins {
id 'com.google.gms.google-services'
id 'androidx.navigation.safeargs'
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
id 'checkstyle'
}

// Checkstyle: enforce Google Java Style Guide
checkstyle {
toolVersion = '10.12.5'
configFile = file("${project.rootDir}/config/checkstyle/google_checks.xml")
ignoreFailures = true // report warnings without breaking the build
}

task checkstyleMain(type: Checkstyle) {
description = 'Run Checkstyle on main Java sources'
group = 'verification'
source 'src/main/java'
include '**/*.java'
exclude '**/Traj.java' // auto-generated protobuf
classpath = files()
reports {
xml.required = true
html.required = true
html.outputLocation = file("${project.buildDir}/reports/checkstyle/main.html")
}
}

// (Optional) load local secrets file:
Expand Down
Loading