This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adds checkstyle to CI * fixed gradlew path * resolved testapp checkstyle violations * added back mapboxMap variable for test * checkstyle annotations * checkstyle SDK round 1 * maps package checkstyle * rest of SDK checkstyle * checkstyle gesture library * checkstyle test * finished rest of test checkstyle * resolved all checkstyle errors * fixed class name * removed old test file * fixed camera postion test * fixed native crash
- Loading branch information
Cameron Mace
authored
Dec 16, 2016
1 parent
f95b483
commit 20b9583
Showing
266 changed files
with
41,374 additions
and
40,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
platform/android/MapboxGLAndroidSDK/gradle-checkstyle.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apply plugin: 'checkstyle' | ||
|
||
checkstyle { | ||
toolVersion = "7.1.1" // 7.3 | ||
configFile = "../checkstyle.xml" as File | ||
} | ||
|
||
task checkstyle(type: Checkstyle) { | ||
description 'Checks if the code adheres to coding standards' | ||
group 'verification' | ||
configFile file("../checkstyle.xml") | ||
source 'src' | ||
include '**/*.java' | ||
exclude '**/gen/**' | ||
classpath = files() | ||
ignoreFailures = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.