tachiyomi-extensions-lib/library/build.gradle

54 lines
1.1 KiB
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-08-26 04:32:44 +02:00
compileSdk 34
2017-01-20 21:46:11 +01:00
defaultConfig {
2023-08-26 04:32:44 +02:00
minSdk 21
targetSdk 34
2017-01-20 21:46:11 +01:00
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
2017-01-20 21:46:11 +01:00
}
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
}
}
}
}