tachiyomi-extensions-lib/library/build.gradle

45 lines
911 B
Groovy
Raw Normal View History

2021-11-28 16:53:40 +01:00
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}
2017-01-20 21:46:11 +01:00
android {
2023-02-11 21:49:17 +01:00
compileSdkVersion 33
2017-01-20 21:46:11 +01:00
defaultConfig {
2021-04-28 15:02:01 +02:00
minSdkVersion 21
2023-02-11 21:49:17 +01:00
targetSdkVersion 33
2017-01-20 21:46:11 +01:00
}
buildTypes {
release {
minifyEnabled false
}
}
}
dependencies {
2023-02-11 21:49:17 +01:00
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"
2017-01-21 17:51:24 +01:00
}
2021-11-28 16:53:40 +01:00
task androidSourcesJar(type: Jar) {
classifier 'sources'
from android.sourceSets.main.java.srcDirs
}
project.afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
artifact androidSourcesJar
}
}
}
}