move dex2jar to server, lint

This commit is contained in:
Aria Moradi
2021-08-19 01:47:26 +04:30
parent 409260af6f
commit e9b07849fe
11 changed files with 22 additions and 26 deletions

View File

@@ -79,10 +79,6 @@ configure(projects) {
// to get application content root
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
implementation("net.dongliu:apk-parser:2.6.10")

View File

@@ -63,6 +63,10 @@ dependencies {
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)
implementation("org.ow2.asm:asm-debug-all:5.0.3")

View File

@@ -88,4 +88,3 @@ interface SManga : Serializable {
// thumbnail_url = mangaInfo.cover
// }
// }

View File

@@ -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.ReadingModeType
// substitute for eu.kanade.tachiyomi.ui.reader.setting.OrientationType
object OrientationType {
const val MASK = 0x00000038
@@ -15,7 +14,6 @@ object ReadingModeType {
const val MASK = 0x00000007
}
interface Manga : SManga {
var id: Long?

View File

@@ -59,7 +59,6 @@ object ProtoBackupImport: ProtoBackupBase() {
// showRestoreProgress(restoreProgress, restoreAmount, context.getString(R.string.categories))
}
private fun restoreManga(backupManga: BackupManga, backupCategories: List<BackupCategory>) { // TODO
// val manga = backupManga.getMangaImpl()
// val chapters = backupManga.getChaptersImpl()