diff --git a/src/pt/shindaiscan/build.gradle b/src/pt/shindaiscan/build.gradle new file mode 100644 index 000000000..aacb6eb0b --- /dev/null +++ b/src/pt/shindaiscan/build.gradle @@ -0,0 +1,9 @@ +ext { + extName = 'Shindai Scan' + extClass = '.ShindaiScan' + themePkg = 'madara' + baseUrl = 'https://shindai.com.br' + overrideVersionCode = 0 +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/shindaiscan/res/mipmap-hdpi/ic_launcher.png b/src/pt/shindaiscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..6f5224bd0 Binary files /dev/null and b/src/pt/shindaiscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/shindaiscan/res/mipmap-mdpi/ic_launcher.png b/src/pt/shindaiscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..376cc6b30 Binary files /dev/null and b/src/pt/shindaiscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/shindaiscan/res/mipmap-xhdpi/ic_launcher.png b/src/pt/shindaiscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..b25e8c1fb Binary files /dev/null and b/src/pt/shindaiscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/shindaiscan/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/shindaiscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..bf1cc403d Binary files /dev/null and b/src/pt/shindaiscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/shindaiscan/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/shindaiscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..d0dbf2e1b Binary files /dev/null and b/src/pt/shindaiscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/shindaiscan/src/eu/kanade/tachiyomi/extension/pt/shindaiscan/ShindaiScan.kt b/src/pt/shindaiscan/src/eu/kanade/tachiyomi/extension/pt/shindaiscan/ShindaiScan.kt new file mode 100644 index 000000000..0b971d276 --- /dev/null +++ b/src/pt/shindaiscan/src/eu/kanade/tachiyomi/extension/pt/shindaiscan/ShindaiScan.kt @@ -0,0 +1,22 @@ +package eu.kanade.tachiyomi.extension.pt.shindaiscan + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.source.model.SChapter +import okhttp3.Response +import java.text.SimpleDateFormat +import java.util.Locale + +class ShindaiScan : Madara( + "Shindai Scan", + "https://shindai.com.br", + "pt-BR", + SimpleDateFormat("dd/MM/yyyy", Locale.ROOT), +) { + override val useNewChapterEndpoint = true + + override fun chapterListParse(response: Response): List { + return super.chapterListParse(response) + .sortedBy(SChapter::name) + .reversed() + } +}