tachiyomi-extensions-lib/library/build.gradle
2023-08-25 22:43:52 -04:00

45 lines
890 B
Groovy

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}
android {
compileSdk 34
defaultConfig {
minSdk 21
targetSdk 34
}
buildTypes {
release {
minifyEnabled false
}
}
}
dependencies {
implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.11"
implementation "io.reactivex:rxjava:1.3.8"
implementation "io.reactivex:rxandroid:1.2.1"
implementation "org.jsoup:jsoup:1.15.3"
implementation "com.github.inorichi.injekt:injekt-core:65b0440"
}
task androidSourcesJar(type: Jar) {
classifier 'sources'
from android.sourceSets.main.java.srcDirs
}
project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
artifact androidSourcesJar
}
}
}
}