update lib version and bump version codes

This commit is contained in:
jmir1
2021-05-27 23:58:29 +02:00
parent df71bdc514
commit c47fb273d5
8 changed files with 15 additions and 15 deletions

View File

@ -192,7 +192,7 @@ a.k.a. the Latest source entry point in the app (invoked by tapping on the "Late
- When the user searches inside the app, `fetchSearchManga` will be called and the rest of the flow is similar to what happens with `fetchPopularManga`. - When the user searches inside the app, `fetchSearchManga` will be called and the rest of the flow is similar to what happens with `fetchPopularManga`.
- If search functionality is not available, return `Observable.just(MangasPage(emptyList(), false))` - If search functionality is not available, return `Observable.just(MangasPage(emptyList(), false))`
- `getFilterList` will be called to get all filters and filter types. **TODO: explain more about `Filter`** - `getAnimeFilterList` will be called to get all filters and filter types. **TODO: explain more about `AnimeFilter`**
#### Manga Details #### Manga Details

View File

@ -1,7 +1,7 @@
// used both in common.gradle and themesources library // used both in common.gradle and themesources library
dependencies { dependencies {
// Lib 1.3, but using specific commit so we don't need to bump up the version // Lib 1.3, but using specific commit so we don't need to bump up the version
compileOnly "com.github.jmir1:extensions-lib:87f8a8e" compileOnly "com.github.jmir1:extensions-lib:dd07b94"
// These are provided by the app itself // These are provided by the app itself
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

View File

@ -5,8 +5,8 @@ ext {
extName = '4anime.to' extName = '4anime.to'
pkgNameSuffix = 'en.fouranime' pkgNameSuffix = 'en.fouranime'
extClass = '.FourAnime' extClass = '.FourAnime'
extVersionCode = 4 extVersionCode = 5
libVersion = '1.3' libVersion = '10'
} }
dependencies { dependencies {
ext.coroutinesVersion = "1.4.3" ext.coroutinesVersion = "1.4.3"

View File

@ -1,6 +1,6 @@
package eu.kanade.tachiyomi.animeextension.en.fouranime package eu.kanade.tachiyomi.animeextension.en.fouranime
import eu.kanade.tachiyomi.animesource.model.FilterList import eu.kanade.tachiyomi.animesource.model.AnimeFilterList
import eu.kanade.tachiyomi.animesource.model.SAnime import eu.kanade.tachiyomi.animesource.model.SAnime
import eu.kanade.tachiyomi.animesource.model.SEpisode import eu.kanade.tachiyomi.animesource.model.SEpisode
import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource
@ -61,7 +61,7 @@ class FourAnime : ParsedAnimeHttpSource() {
override fun searchAnimeSelector(): String = "#headerDIV_95" override fun searchAnimeSelector(): String = "#headerDIV_95"
override fun searchAnimeRequest(page: Int, query: String, filters: FilterList): Request = GET("$baseUrl/?s=$query") override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request = GET("$baseUrl/?s=$query")
override fun animeDetailsParse(document: Document): SAnime { override fun animeDetailsParse(document: Document): SAnime {
val anime = SAnime.create() val anime = SAnime.create()

View File

@ -5,8 +5,8 @@ ext {
extName = 'tenshi.moe' extName = 'tenshi.moe'
pkgNameSuffix = 'en.tenshimoe' pkgNameSuffix = 'en.tenshimoe'
extClass = '.TenshiMoe' extClass = '.TenshiMoe'
extVersionCode = 7 extVersionCode = 8
libVersion = '1.3' libVersion = '10'
} }
dependencies { dependencies {
ext.coroutinesVersion = "1.4.3" ext.coroutinesVersion = "1.4.3"

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.animeextension.en.tenshimoe package eu.kanade.tachiyomi.animeextension.en.tenshimoe
import android.annotation.SuppressLint import android.annotation.SuppressLint
import eu.kanade.tachiyomi.animesource.model.FilterList import eu.kanade.tachiyomi.animesource.model.AnimeFilterList
import eu.kanade.tachiyomi.animesource.model.SAnime import eu.kanade.tachiyomi.animesource.model.SAnime
import eu.kanade.tachiyomi.animesource.model.SEpisode import eu.kanade.tachiyomi.animesource.model.SEpisode
import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource
@ -93,7 +93,7 @@ class TenshiMoe : ParsedAnimeHttpSource() {
override fun searchAnimeSelector(): String = "ul.anime-loop.loop li a" override fun searchAnimeSelector(): String = "ul.anime-loop.loop li a"
override fun searchAnimeRequest(page: Int, query: String, filters: FilterList): Request = GET("$baseUrl/anime?q=$query") override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request = GET("$baseUrl/anime?q=$query")
override fun animeDetailsParse(document: Document): SAnime { override fun animeDetailsParse(document: Document): SAnime {
val anime = SAnime.create() val anime = SAnime.create()

View File

@ -5,8 +5,8 @@ ext {
extName = '2dgirls.tech' extName = '2dgirls.tech'
pkgNameSuffix = 'en.twodgirlstech' pkgNameSuffix = 'en.twodgirlstech'
extClass = '.TwoDGirlsTech' extClass = '.TwoDGirlsTech'
extVersionCode = 6 extVersionCode = 7
libVersion = '1.3' libVersion = '10'
} }
dependencies { dependencies {
ext.coroutinesVersion = "1.4.3" ext.coroutinesVersion = "1.4.3"

View File

@ -1,7 +1,7 @@
package eu.kanade.tachiyomi.animeextension.en.twodgirlstech package eu.kanade.tachiyomi.animeextension.en.twodgirlstech
import eu.kanade.tachiyomi.animesource.model.AnimeFilterList
import eu.kanade.tachiyomi.animesource.model.AnimesPage import eu.kanade.tachiyomi.animesource.model.AnimesPage
import eu.kanade.tachiyomi.animesource.model.FilterList
import eu.kanade.tachiyomi.animesource.model.SAnime import eu.kanade.tachiyomi.animesource.model.SAnime
import eu.kanade.tachiyomi.animesource.model.SEpisode import eu.kanade.tachiyomi.animesource.model.SEpisode
import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource
@ -95,7 +95,7 @@ class TwoDGirlsTech : ParsedAnimeHttpSource() {
} }
} }
override fun fetchSearchAnime(page: Int, query: String, filters: FilterList): Observable<AnimesPage> { override fun fetchSearchAnime(page: Int, query: String, filters: AnimeFilterList): Observable<AnimesPage> {
return Observable.just(runBlocking { getSearch(page, query) }) return Observable.just(runBlocking { getSearch(page, query) })
} }
@ -170,7 +170,7 @@ class TwoDGirlsTech : ParsedAnimeHttpSource() {
override fun popularAnimeRequest(page: Int): Request = throw Exception("Not used") override fun popularAnimeRequest(page: Int): Request = throw Exception("Not used")
override fun searchAnimeRequest(page: Int, query: String, filters: FilterList): Request = throw Exception("Not used") override fun searchAnimeRequest(page: Int, query: String, filters: AnimeFilterList): Request = throw Exception("Not used")
override fun popularAnimeNextPageSelector(): String? = throw Exception("Not used") override fun popularAnimeNextPageSelector(): String? = throw Exception("Not used")