Tachiyomi-Extensions/common.gradle

56 lines
1.4 KiB
Groovy
Raw Normal View History

2017-01-21 16:55:27 +00:00
android {
compileSdkVersion 27
2019-12-26 17:52:26 +00:00
buildToolsVersion '29.0.2'
2017-01-21 16:55:27 +00:00
buildTypes {
release {
minifyEnabled false
}
}
2017-02-25 15:51:30 +00:00
sourceSets {
main {
manifest.srcFile "$rootDir/AndroidManifest.xml"
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ["$rootDir/res"]
assets.srcDirs = ['assets']
}
release {
res.srcDirs = ['res']
manifest.srcFile "AndroidManifest.xml"
2017-02-25 15:51:30 +00:00
}
debug {
res.srcDirs = ['res']
manifest.srcFile "AndroidManifest.xml"
2017-02-25 15:51:30 +00:00
}
2017-01-21 16:55:27 +00:00
}
defaultConfig {
minSdkVersion 16
targetSdkVersion 27
2017-01-21 16:55:27 +00:00
applicationIdSuffix pkgNameSuffix
versionCode extVersionCode
versionName "$libVersion.$extVersionCode"
2017-02-07 16:01:04 +00:00
setProperty("archivesBaseName", "tachiyomi-$pkgNameSuffix-v$versionName")
2017-01-21 16:55:27 +00:00
manifestPlaceholders = [
appName: appName,
extClass: extClass,
]
}
}
repositories {
mavenCentral()
}
dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compileOnly "com.github.tachiyomiorg:extensions-lib:$libVersion"
compileOnly 'com.squareup.okhttp3:okhttp:3.10.0'
compileOnly 'io.reactivex:rxjava:1.3.6'
compileOnly 'org.jsoup:jsoup:1.10.2'
2017-01-21 16:55:27 +00:00
}