ed8009d9fa
Apply ktlint-gradle plugin to all Gradle subprojects.
34 lines
760 B
Groovy
34 lines
760 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
api project(":mail:common")
|
|
|
|
api "com.squareup.okio:okio:${versions.okio}"
|
|
api "org.robolectric:robolectric:${versions.robolectric}"
|
|
api "junit:junit:${versions.junit}"
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion buildConfig.compileSdk
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion buildConfig.minSdk
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility javaVersion
|
|
targetCompatibility javaVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = kotlinJvmVersion
|
|
}
|
|
}
|