tachiyomi-extensions-lib/library/build.gradle

52 lines
978 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 {
2021-04-28 15:05:54 +02:00
compileSdkVersion 29
2020-05-09 18:05:50 +02:00
buildToolsVersion "29.0.3"
2017-01-20 21:46:11 +01:00
defaultConfig {
2021-04-28 15:02:01 +02:00
minSdkVersion 21
2021-04-28 15:05:54 +02:00
targetSdkVersion 29
2017-01-20 21:46:11 +01:00
versionCode 1
2021-04-28 15:05:54 +02:00
versionName '1.2'
2017-01-20 21:46:11 +01:00
}
buildTypes {
release {
minifyEnabled false
}
}
}
dependencies {
2021-04-28 15:05:54 +02:00
compileOnly "com.squareup.okhttp3:okhttp:4.9.1"
compileOnly "io.reactivex:rxjava:1.3.8"
compileOnly "org.jsoup:jsoup:1.13.1"
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
repositories {
mavenCentral()
2021-04-28 15:05:54 +02:00
google()
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
}
}
}
}