| apply plugin: 'java' |
| apply plugin: 'kotlin' |
| apply plugin: 'jacoco-tools-base' |
| |
| dependencies { |
| compile project(':base:annotations') |
| compile project(':base:common') |
| compile project(':analytics-library:tracker') |
| compile libs.guava |
| compile libs.gson |
| |
| compile libs.kotlin_stdlib |
| |
| testCompile libs.junit |
| testCompile libs.truth |
| testCompile libs.mockito_core |
| testCompile libs.jimfs |
| testCompile libs.kotlin_test |
| } |
| |
| configurations { |
| sourcesOnly |
| } |
| |
| task sourcesJar(type: Jar, dependsOn: classes) { |
| classifier = 'sources' |
| from sourceSets.main.allSource |
| } |
| |
| artifacts { |
| sourcesOnly sourcesJar |
| } |
| |
| compileKotlin { |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| } |
| |
| compileTestKotlin { |
| kotlinOptions { |
| jvmTarget = "1.8" |
| } |
| } |
| |