SHOW:
|
|
- or go back to the newest paste.
| 1 | apply plugin: 'com.android.library' | |
| 2 | apply plugin: 'kotlin-android' | |
| 3 | ||
| 4 | android {
| |
| 5 | // android related stuff | |
| 6 | ||
| 7 | lintOptions {
| |
| 8 | // For Okio | |
| 9 | // https://github.com/square/okio/issues/58 | |
| 10 | warning 'InvalidPackage' | |
| 11 | } | |
| 12 | } | |
| 13 | ||
| 14 | dependencies {
| |
| 15 | compile fileTree(include: ['*.jar'], dir: 'libs') | |
| 16 | implementation libraries.dagger | |
| 17 | compileOnly libraries.appcompat | |
| 18 | annotationProcessor libraries.daggerCompiler | |
| 19 | ||
| 20 | // test dependencies | |
| 21 | testAnnotationProcessor libraries.daggerCompiler | |
| 22 | androidTestImplementation libraries.kotlin | |
| 23 | } | |
| 24 | repositories {
| |
| 25 | mavenCentral() | |
| 26 | } |