kopia lustrzana https://github.com/ryukoposting/Signal-Android
63 wiersze
1.6 KiB
Groovy
63 wiersze
1.6 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
id 'org.jlleitschuh.gradle.ktlint'
|
|
id 'android-constants'
|
|
}
|
|
|
|
android {
|
|
buildToolsVersion BUILD_TOOLS_VERSION
|
|
compileSdkVersion COMPILE_SDK_VERSION
|
|
|
|
defaultConfig {
|
|
minSdkVersion MIN_SDK_VERSION
|
|
targetSdkVersion TARGET_SDK_VERSION
|
|
multiDexEnabled true
|
|
}
|
|
|
|
compileOptions {
|
|
coreLibraryDesugaringEnabled true
|
|
sourceCompatibility JAVA_VERSION
|
|
targetCompatibility JAVA_VERSION
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
lint {
|
|
disable 'InvalidVectorPath'
|
|
}
|
|
}
|
|
|
|
ktlint {
|
|
// Use a newer version to resolve https://github.com/JLLeitschuh/ktlint-gradle/issues/507
|
|
version = "0.47.1"
|
|
}
|
|
|
|
dependencies {
|
|
lintChecks project(':lintchecks')
|
|
|
|
coreLibraryDesugaring libs.android.tools.desugar
|
|
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.fragment.ktx
|
|
implementation libs.androidx.annotation
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.rxjava3.rxandroid
|
|
implementation libs.rxjava3.rxjava
|
|
implementation libs.rxjava3.rxkotlin
|
|
implementation libs.androidx.multidex
|
|
|
|
implementation libs.kotlin.stdlib.jdk8
|
|
ktlintRuleset libs.ktlint.twitter.compose
|
|
|
|
testImplementation testLibs.junit.junit
|
|
testImplementation testLibs.mockito.core
|
|
testImplementation testLibs.mockito.android
|
|
testImplementation testLibs.mockito.kotlin
|
|
testImplementation testLibs.robolectric.robolectric
|
|
testImplementation testLibs.androidx.test.core
|
|
testImplementation testLibs.androidx.test.core.ktx
|
|
}
|