mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-02 11:11:53 -05:00
and remove sharedTest symlink hack. The shared tests are now a proper gradle module to avoid issues with using the same source files in different modules.
28 lines
654 B
Groovy
28 lines
654 B
Groovy
plugins {
|
|
id 'kotlin-android'
|
|
id 'com.android.library'
|
|
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
// not really an Android library, but index is not publishing for JVM at the moment
|
|
android {
|
|
compileSdkVersion 31
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":libs:index")
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-test'
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
|
|
}
|
|
|
|
apply from: "${rootProject.rootDir}/gradle/ktlint.gradle"
|