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

@ -45,9 +45,9 @@ repositories {
}
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"
compileOnly "eu.kanade.tachiyomi:extensions-library:$libVersion"
compileOnly 'com.squareup.okhttp3:okhttp:3.5.0'
compileOnly 'io.reactivex:rxjava:1.2.4'
compileOnly 'org.jsoup:jsoup:1.10.1'
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

View File

@ -7,7 +7,6 @@ sourceSets {
}
dependencies {
}
sourceCompatibility = "1.6"

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"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: WieManga'
pkgNameSuffix = "de.wiemanga"
pkgNameSuffix = 'de.wiemanga'
extClass = '.WieManga'
extVersionCode = 2
extVersionSuffix = 0

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Dynasty'
pkgNameSuffix = "en.dynasty"
pkgNameSuffix = 'en.dynasty'
extClass = '.DynastyFactory'
extVersionCode = 7
extVersionSuffix = 7

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Kissmanga'
pkgNameSuffix = "en.kissmanga"
pkgNameSuffix = 'en.kissmanga'
extClass = '.Kissmanga'
extVersionCode = 7
extVersionSuffix = 4
@ -11,7 +11,7 @@ ext {
}
dependencies {
provided project(':duktape-stub')
compileOnly project(':duktape-stub')
}
apply from: "$rootDir/common.gradle"

View File

@ -3,11 +3,11 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangaeden'
pkgNameSuffix = "en.mangaeden"
pkgNameSuffix = 'en.mangaeden'
extClass = '.Mangaeden'
extVersionCode = 1
extVersionSuffix = 1
libVersion = '1.0'
}
apply from: "$rootDir/common.gradle"
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangafox'
pkgNameSuffix = "en.mangafox"
pkgNameSuffix = 'en.mangafox'
extClass = '.Mangafox'
extVersionCode = 3
extVersionSuffix = 1

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangafree'
pkgNameSuffix = "en.mangafree"
pkgNameSuffix = 'en.mangafree'
extClass = '.Mangafree'
extVersionCode = 0
extVersionSuffix = 1

View File

@ -3,15 +3,15 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangago'
pkgNameSuffix = "en.mangago"
pkgNameSuffix = 'en.mangago'
extClass = '.Mangago'
extVersionCode = 6
extVersionSuffix = 5
libVersion = '1.2'
}
apply from: "$rootDir/common.gradle"
dependencies {
provided project(':duktape-stub')
compileOnly project(':duktape-stub')
}
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangahere'
pkgNameSuffix = "en.mangahere"
pkgNameSuffix = 'en.mangahere'
extClass = '.Mangahere'
extVersionCode = 6
extVersionSuffix = 4

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: MangaKakalot'
pkgNameSuffix = "en.mangakakalot"
pkgNameSuffix = 'en.mangakakalot'
extClass = '.Mangakakalot'
extVersionCode = 1
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: MangaPark'
pkgNameSuffix = "en.mangapark"
pkgNameSuffix = 'en.mangapark'
extClass = '.MangaPark'
extVersionCode = 3
extVersionSuffix = 3

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Manga Rock'
pkgNameSuffix = "en.mangarock"
pkgNameSuffix = 'en.mangarock'
extClass = '.MangaRock'
extVersionCode = 3
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangasee'
pkgNameSuffix = "en.mangasee"
pkgNameSuffix = 'en.mangasee'
extClass = '.Mangasee'
extVersionCode = 2
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangastream'
pkgNameSuffix = "en.mangastream"
pkgNameSuffix = 'en.mangastream'
extClass = '.Mangastream'
extVersionCode = 2
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangazuki'
pkgNameSuffix = "en.mangazuki"
pkgNameSuffix = 'en.mangazuki'
extClass = '.Mangazuki'
extVersionCode = 2
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Perveden'
pkgNameSuffix = "en.perveden"
pkgNameSuffix = 'en.perveden'
extClass = '.Perveden'
extVersionCode = 1
extVersionSuffix = 1

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: ReadComicOnline'
pkgNameSuffix = "en.readcomiconline"
pkgNameSuffix = 'en.readcomiconline'
extClass = '.Readcomiconline'
extVersionCode = 4
extVersionSuffix = 3

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: ReadComicWebsite'
pkgNameSuffix = "en.readcomictv"
pkgNameSuffix = 'en.readcomictv'
extClass = '.Readcomictv'
extVersionCode = 3
extVersionSuffix = 3

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: ReadMangaToday'
pkgNameSuffix = "en.readmangatoday"
pkgNameSuffix = 'en.readmangatoday'
extClass = '.Readmangatoday'
extVersionCode = 5
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Tapastic'
pkgNameSuffix = "en.tapastic"
pkgNameSuffix = 'en.tapastic'
extClass = '.Tapastic'
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

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Webtoons'
pkgNameSuffix = "en.webtoons"
pkgNameSuffix = 'en.webtoons'
extClass = '.Webtoons'
extVersionCode = 4
extVersionSuffix = 3

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: xkcd'
pkgNameSuffix = "en.xkcd"
pkgNameSuffix = 'en.xkcd'
extClass = '.Xkcd'
extVersionCode = 4
extVersionSuffix = 4
@ -11,9 +11,9 @@ ext {
}
dependencies {
provided project(':duktape-stub')
provided "com.google.code.gson:gson:2.8.0"
provided "com.github.salomonbrys.kotson:kotson:2.5.0"
compileOnly project(':duktape-stub')
compileOnly 'com.google.code.gson:gson:2.8.0'
compileOnly 'com.github.salomonbrys.kotson:kotson:2.5.0'
}
apply from: "$rootDir/common.gradle"
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangaeden'
pkgNameSuffix = "it.mangaeden"
pkgNameSuffix = 'it.mangaeden'
extClass = '.Mangaeden'
extVersionCode = 1
extVersionSuffix = 1

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Perveden'
pkgNameSuffix = "it.perveden"
pkgNameSuffix = 'it.perveden'
extClass = '.Perveden'
extVersionCode = 1
extVersionSuffix = 1

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: RawQQ'
pkgNameSuffix = "ja.rawqq"
pkgNameSuffix = 'ja.rawqq'
extClass = '.Rawqq'
extVersionCode = 1
extVersionSuffix = 0

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: RawLH'
pkgNameSuffix = "ja.rawlh"
pkgNameSuffix = 'ja.rawlh'
extClass = '.Rawlh'
extVersionCode = 4
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Sen Manga'
pkgNameSuffix = "ja.senmanga"
pkgNameSuffix = 'ja.senmanga'
extClass = '.SenManga'
extVersionCode = 2
extVersionSuffix = 1

View File

@ -10,8 +10,4 @@ ext {
libVersion = '1.2'
}
dependencies {
}
apply from: "$rootDir/common.gradle"

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Desu'
pkgNameSuffix = "ru.desu"
pkgNameSuffix = 'ru.desu'
extClass = '.Desu'
extVersionCode = 4
extVersionSuffix = 3

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mangachan'
pkgNameSuffix = "ru.mangachan"
pkgNameSuffix = 'ru.mangachan'
extClass = '.Mangachan'
extVersionCode = 6
extVersionSuffix = 6

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Mintmanga'
pkgNameSuffix = "ru.mintmanga"
pkgNameSuffix = 'ru.mintmanga'
extClass = '.Mintmanga'
extVersionCode = 5
extVersionSuffix = 5

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Readmanga'
pkgNameSuffix = "ru.readmanga"
pkgNameSuffix = 'ru.readmanga'
extClass = '.Readmanga'
extVersionCode = 5
extVersionSuffix = 5

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: AcademyVN'
pkgNameSuffix = "vi.academyvn"
pkgNameSuffix = 'vi.academyvn'
extClass = '.Academyvn'
extVersionCode = 3
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Blogtruyen'
pkgNameSuffix = "vi.blogtruyen"
pkgNameSuffix = 'vi.blogtruyen'
extClass = '.Blogtruyen'
extVersionCode = 2
extVersionSuffix = 1

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: IuTruyenTranh'
pkgNameSuffix = "vi.iutruyentranh"
pkgNameSuffix = 'vi.iutruyentranh'
extClass = '.Iutruyentranh'
extVersionCode = 3
extVersionSuffix = 2

View File

@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: TruyenTranhLh'
pkgNameSuffix = "vi.truyentranhlh"
pkgNameSuffix = 'vi.truyentranhlh'
extClass = '.Truyentranhlh'
extVersionCode = 4
extVersionSuffix = 3
@ -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,7 +3,7 @@ apply plugin: 'kotlin-android'
ext {
appName = 'Tachiyomi: Dmzj'
pkgNameSuffix = "zh.dmzj"
pkgNameSuffix = 'zh.dmzj'
extClass = '.Dmzj'
extVersionCode = 4
extVersionSuffix = 4