Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

48 lines
1.3 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.github.k1rakishou.chan"
compileSdk 34
defaultConfig {
minSdkVersion 21
}
buildTypes {
release {
minifyEnabled true
}
debug {
minifyEnabled false
}
android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}
dependencies {
implementation project(':core-common')
implementation project(':core-logger')
implementation "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin_version}"
implementation "org.jsoup:jsoup:${versions.jsoup}"
implementation "joda-time:joda-time:${versions.joda_time}"
testImplementation "junit:junit:${versions.junit}"
testImplementation "org.mockito:mockito-core:${versions.mockito_core}"
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${versions.mockito_kotlin}"
testImplementation "org.powermock:powermock-module-junit4:${versions.powermock}"
testImplementation "org.powermock:powermock-api-mockito2:${versions.powermock}"
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}