Manga parsers library for Kotlin/JVM and Android
https://kotatsu.app
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Co-authored-by: Koitharu <nvasya95@gmail.com> |
4 years ago | |
|---|---|---|
| .github | 4 years ago | |
| .idea | 4 years ago | |
| buildSrc | 4 years ago | |
| gradle/wrapper | 4 years ago | |
| kotatsu-parsers-ksp | 4 years ago | |
| src | 4 years ago | |
| .editorconfig | 4 years ago | |
| .gitignore | 4 years ago | |
| LICENSE | 4 years ago | |
| README.md | 4 years ago | |
| build.gradle | 4 years ago | |
| gradle.properties | 4 years ago | |
| gradlew | 4 years ago | |
| gradlew.bat | 4 years ago | |
| settings.gradle | 4 years ago | |
README.md
Kotatsu parsers
Library that provides manga sources.
Usage
-
Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url 'https://jitpack.io' } } } -
Add the dependency
For Java/Kotlin project:
dependencies { implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") }For Android project:
dependencies { implementation("com.github.KotatsuApp:kotatsu-parsers:$parsers_version") { exclude group: 'org.json', module: 'json' } }See for versions at JitPack
-
Usage in code
val parser = MangaSource.MANGADEX.newParser(mangaLoaderContext)mangaLoaderContextis an implementation of theMangaLoaderContextclass. See Android and Non-Android implementation examples.Note that the
MangaSource.LOCALandMangaSource.DUMMYparsers cannot be instantiated.