| import android.support.LibraryVersions |
| |
| apply plugin: 'kotlin' |
| apply plugin: 'maven' |
| apply plugin: 'checkstyle' |
| |
| sourceSets { |
| test.java.srcDirs += 'src/tests/kotlin' |
| } |
| |
| // Temporary hack to stop AS to adding two guavas into test's classpath |
| configurations.all { |
| resolutionStrategy { |
| force libs.guava |
| } |
| } |
| |
| dependencies { |
| compile project(":lifecycle:common") |
| compile libs.kotlin.stdlib |
| compile libs.auto_common |
| compile libs.javapoet |
| testCompile libs.google_compile_testing |
| testCompile libs.jsr250 |
| testCompile files(org.gradle.internal.jvm.Jvm.current().getToolsJar()) |
| } |
| |
| version = LibraryVersions.LIFECYCLES_EXT.toString() |
| createKotlinCheckstyle(project) |