Tachiyomi-Extensions/common.gradle

46 lines
1.1 KiB
Groovy
Raw Normal View History

2017-01-21 16:55:27 +00:00
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
buildTypes {
release {
minifyEnabled false
}
}
sourceSets.main {
manifest.srcFile '../AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
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"
}