mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 17:34:39 -05:00
move dex2jar to server, lint
This commit is contained in:
@@ -79,10 +79,6 @@ configure(projects) {
|
|||||||
// to get application content root
|
// to get application content root
|
||||||
implementation("net.harawata:appdirs:1.2.1")
|
implementation("net.harawata:appdirs:1.2.1")
|
||||||
|
|
||||||
// dex2jar: https://github.com/DexPatcher/dex2jar/releases/tag/v2.1-20190905-lanchon
|
|
||||||
// note: watch https://github.com/ThexXTURBOXx/dex2jar for future development
|
|
||||||
implementation("com.github.DexPatcher.dex2jar:dex-tools:v2.1-20190905-lanchon")
|
|
||||||
|
|
||||||
// APK parser
|
// APK parser
|
||||||
implementation("net.dongliu:apk-parser:2.6.10")
|
implementation("net.dongliu:apk-parser:2.6.10")
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,10 @@ dependencies {
|
|||||||
implementation("com.github.salomonbrys.kotson:kotson:2.5.0")
|
implementation("com.github.salomonbrys.kotson:kotson:2.5.0")
|
||||||
|
|
||||||
|
|
||||||
|
// dex2jar: https://github.com/DexPatcher/dex2jar/releases/tag/v2.1-20190905-lanchon
|
||||||
|
// note: watch https://github.com/ThexXTURBOXx/dex2jar for future developments
|
||||||
|
implementation("com.github.DexPatcher.dex2jar:dex-tools:v2.1-20190905-lanchon")
|
||||||
|
|
||||||
// asm for fixing SimpleDateFormat (must match Dex2Jar version)
|
// asm for fixing SimpleDateFormat (must match Dex2Jar version)
|
||||||
implementation("org.ow2.asm:asm-debug-all:5.0.3")
|
implementation("org.ow2.asm:asm-debug-all:5.0.3")
|
||||||
|
|
||||||
|
|||||||
@@ -88,4 +88,3 @@ interface SManga : Serializable {
|
|||||||
// thumbnail_url = mangaInfo.cover
|
// thumbnail_url = mangaInfo.cover
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import eu.kanade.tachiyomi.source.model.SManga
|
|||||||
// import eu.kanade.tachiyomi.ui.reader.setting.OrientationType
|
// import eu.kanade.tachiyomi.ui.reader.setting.OrientationType
|
||||||
// import eu.kanade.tachiyomi.ui.reader.setting.ReadingModeType
|
// import eu.kanade.tachiyomi.ui.reader.setting.ReadingModeType
|
||||||
|
|
||||||
|
|
||||||
// substitute for eu.kanade.tachiyomi.ui.reader.setting.OrientationType
|
// substitute for eu.kanade.tachiyomi.ui.reader.setting.OrientationType
|
||||||
object OrientationType {
|
object OrientationType {
|
||||||
const val MASK = 0x00000038
|
const val MASK = 0x00000038
|
||||||
@@ -15,7 +14,6 @@ object ReadingModeType {
|
|||||||
const val MASK = 0x00000007
|
const val MASK = 0x00000007
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
interface Manga : SManga {
|
interface Manga : SManga {
|
||||||
|
|
||||||
var id: Long?
|
var id: Long?
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ object ProtoBackupImport: ProtoBackupBase() {
|
|||||||
// showRestoreProgress(restoreProgress, restoreAmount, context.getString(R.string.categories))
|
// showRestoreProgress(restoreProgress, restoreAmount, context.getString(R.string.categories))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun restoreManga(backupManga: BackupManga, backupCategories: List<BackupCategory>) { // TODO
|
private fun restoreManga(backupManga: BackupManga, backupCategories: List<BackupCategory>) { // TODO
|
||||||
// val manga = backupManga.getMangaImpl()
|
// val manga = backupManga.getMangaImpl()
|
||||||
// val chapters = backupManga.getChaptersImpl()
|
// val chapters = backupManga.getChaptersImpl()
|
||||||
|
|||||||
Reference in New Issue
Block a user