Use compileOnly instead of provided in Gradle files (#438)

Use compileOnly instead of provided in Gradle files
This commit is contained in:
Eugene
2018-08-05 15:51:58 -04:00
committed by Carlos
parent 56e681bed1
commit 71806a3d1d
45 changed files with 76 additions and 81 deletions

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: E-Hentai'
pkgNameSuffix = "all.ehentai"
pkgNameSuffix = 'all.ehentai'
extClass = '.EHJapanese; .EHEnglish; .EHChinese; .EHDutch; .EHFrench; .EHGerman; .EHHungarian; .EHItalian; .EHKorean; .EHPolish; .EHPolish; .EHPortuguese; .EHRussian; .EHSpanish; .EHThai; .EHVietnamese; .EHSpeechless; .EHOther'
extVersionCode = 1
extVersionSuffix = 1
@ -11,8 +11,8 @@ ext {
}
dependencies {
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View File

@ -9,8 +9,10 @@ ext {
extVersionSuffix = 8
libVersion = '1.2'
}
dependencies {
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: MangaDex'
pkgNameSuffix = "all.mangadex"
pkgNameSuffix = 'all.mangadex'
extClass = '.MangadexFactory'
extVersionCode = 32
extVersionSuffix = 32
@ -11,10 +11,10 @@ ext {
}
dependencies {
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
provided project(':preference-stub')
provided "com.github.inorichi.injekt:injekt-core:65b0440"
compileOnly project(':preference-stub')
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
compileOnly 'com.github.inorichi.injekt:injekt-core:65b0440'
}
apply from: "$rootDir/common.gradle"

View File

@ -11,8 +11,8 @@ ext {
}
dependencies {
provided "com.google.code.gson:gson:2.8.1"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly 'com.google.code.gson:gson:2.8.1'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View File

@ -3,15 +3,11 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: MyReadingManga'
pkgNameSuffix = "all.myreadingmanga"
pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory'
extVersionCode = 6
extVersionSuffix = 5
libVersion = '1.2'
}
dependencies {
}
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: nhentai'
pkgNameSuffix = "all.nhentai"
pkgNameSuffix = 'all.nhentai'
extClass = '.NHJapanese; .NHEnglish; .NHChinese; .NHSpeechless; .NHCzech; .NHEsperanto; .NHMongolian; .NHSlovak; .NHArabic; .NHUkrainian'
extVersionCode = 2
extVersionSuffix = 0
@ -11,8 +11,8 @@ ext {
}
dependencies {
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"

View File

@ -3,14 +3,16 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: WPManga (Many sources)'
pkgNameSuffix = "all.wpmanga"
pkgNameSuffix = 'all.wpmanga'
extClass = '.WpMangaFactory'
extVersionCode = 2
extVersionSuffix = 2
libVersion = '1.2'
}
dependencies {
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"