2017-01-21 16:55:27 +00:00
|
|
|
android {
|
2018-02-04 12:55:21 +00:00
|
|
|
compileSdkVersion 27
|
2018-10-21 19:30:09 +00:00
|
|
|
buildToolsVersion '28.0.3'
|
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']
|
2019-04-13 09:22:10 +00:00
|
|
|
manifest.srcFile "AndroidManifest.xml"
|
2017-02-25 15:51:30 +00:00
|
|
|
}
|
|
|
|
debug {
|
|
|
|
res.srcDirs = ['res']
|
2019-04-13 09:22:10 +00:00
|
|
|
manifest.srcFile "AndroidManifest.xml"
|
2017-02-25 15:51:30 +00:00
|
|
|
}
|
2017-01-21 16:55:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
2018-02-04 12:55:21 +00:00
|
|
|
targetSdkVersion 27
|
2017-01-21 16:55:27 +00:00
|
|
|
applicationIdSuffix pkgNameSuffix
|
|
|
|
versionCode extVersionCode
|
2018-10-20 19:28:01 +00:00
|
|
|
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 {
|
2018-08-05 19:51:58 +00:00
|
|
|
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
2018-08-05 20:48:02 +00:00
|
|
|
compileOnly "eu.kanade.tachiyomi:extensions-library:$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
|
|
|
}
|