Tachiyomi-Extensions/common.gradle

54 lines
1.3 KiB
Groovy

android {
compileSdkVersion 27
buildToolsVersion "27.0.2"
buildTypes {
release {
minifyEnabled false
}
}
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']
}
debug {
res.srcDirs = ['res']
}
}
defaultConfig {
minSdkVersion 16
targetSdkVersion 27
applicationIdSuffix pkgNameSuffix
versionCode extVersionCode
versionName "$libVersion.$extVersionSuffix"
setProperty("archivesBaseName", "tachiyomi-$pkgNameSuffix-v$versionName")
manifestPlaceholders = [
appName: appName,
extClass: extClass,
]
}
}
repositories {
mavenCentral()
}
dependencies {
provided "eu.kanade.tachiyomi:extensions-library:$libVersion"
provided "com.squareup.okhttp3:okhttp:3.5.0"
provided 'io.reactivex:rxjava:1.2.4'
provided 'org.jsoup:jsoup:1.10.1'
provided "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}