Tachiyomi-Extensions/common.gradle

54 lines
1.3 KiB
Groovy
Raw Normal View History

2017-01-21 16:55:27 +00:00
android {
2018-02-04 12:55:21 +00:00
compileSdkVersion 27
2018-06-06 11:40:38 +00:00
buildToolsVersion "27.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']
}
debug {
res.srcDirs = ['res']
}
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
versionName "$libVersion.$extVersionSuffix"
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 {
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"
}