Note: Consider using mitmproxy instead of Charles. There is better, more recent, documentation for using mitmproxy on Android.
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
// Merge of | |
// https://github.com/mgouline/android-samples/blob/master/jacoco/app/build.gradle | |
// and https://github.com/pushtorefresh/storio/blob/master/gradle/jacoco-android.gradle | |
// Requires Jacoco plugin in build classpath. | |
apply plugin: 'jacoco' | |
jacoco { | |
toolVersion = "0.8.3" | |
} |
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
/** | |
* Checkstyle tasks | |
* Usage: | |
* - place this file under root dir of your project at /gradle directory | |
* - apply script from your gradle file: | |
* apply from : "{rootDir}/gradle/checkstyle.gradle" | |
* | |
* To configure checkstyle use configs at: | |
* "{rootDir}/config/checkstyle/checkstyle.xml" - for main projects | |
* "{rootDir}/config/checkstyle/checkstyle-test.xml" - for tests |