mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-11-18 01:09:16 +01:00
45 lines
890 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|