Due to a bug in the packaging of Android OS "L", dependencies which reference Okio need to be repackaged.
For more information see lysine-dev/okhttp#967
Usage
Due to a bug in the packaging of Android OS "L", dependencies which reference Okio need to be repackaged.
For more information see lysine-dev/okhttp#967
Usage
| def toCamelCase(String string) { | |
| String result = "" | |
| string.findAll("[^\\W]+") { String word -> | |
| result += word.capitalize() | |
| } | |
| return result | |
| } | |
| afterEvaluate { project -> | |
| Configuration runtimeConfiguration = project.configurations.getByName('compile') |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| android { | |
| signingConfigs { | |
| release | |
| } | |
| buildTypes { | |
| release { | |
| signingConfig signingConfigs.release | |
| } |
| configurations { | |
| codequality | |
| } | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| codequality 'com.puppycrawl.tools:checkstyle:5.6' |
| apply plugin: 'checkstyle' | |
| checkstyleMain { | |
| ignoreFailures = false | |
| reports { | |
| include ( '**/*.java') | |
| xml { | |
| destination "${rootProject.buildDir}/reports/checkstyle/main.xml" | |
| } | |
| } |