diff --git a/src/pt/nirvanascan/build.gradle b/src/pt/nirvanascan/build.gradle new file mode 100644 index 000000000..370788c16 --- /dev/null +++ b/src/pt/nirvanascan/build.gradle @@ -0,0 +1,9 @@ +ext { + extName = 'Nirvana Scan' + extClass = '.NirvanaScan' + themePkg = 'madara' + baseUrl = 'https://nirvanascan.com' + overrideVersionCode = 0 +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/nirvanascan/res/mipmap-hdpi/ic_launcher.png b/src/pt/nirvanascan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..c2f3ad797 Binary files /dev/null and b/src/pt/nirvanascan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/nirvanascan/res/mipmap-mdpi/ic_launcher.png b/src/pt/nirvanascan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..a2b217699 Binary files /dev/null and b/src/pt/nirvanascan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/nirvanascan/res/mipmap-xhdpi/ic_launcher.png b/src/pt/nirvanascan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..a47232bcf Binary files /dev/null and b/src/pt/nirvanascan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/nirvanascan/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/nirvanascan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..0edf41e71 Binary files /dev/null and b/src/pt/nirvanascan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/nirvanascan/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/nirvanascan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..03617d111 Binary files /dev/null and b/src/pt/nirvanascan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/nirvanascan/src/eu/kanade/tachiyomi/extension/pt/nirvanascan/NirvanaScan.kt b/src/pt/nirvanascan/src/eu/kanade/tachiyomi/extension/pt/nirvanascan/NirvanaScan.kt new file mode 100644 index 000000000..5cf4661c2 --- /dev/null +++ b/src/pt/nirvanascan/src/eu/kanade/tachiyomi/extension/pt/nirvanascan/NirvanaScan.kt @@ -0,0 +1,19 @@ +package eu.kanade.tachiyomi.extension.pt.nirvanascan + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import java.text.SimpleDateFormat +import java.util.Locale + +class NirvanaScan : Madara( + "Nirvana Scan", + "https://nirvanascan.com", + "pt-BR", + SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")), +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() + + override val useNewChapterEndpoint = true +}