Add ktlint-disable directive to generated files
This commit is contained in:
parent
473a1fbc4e
commit
2f5e09b292
|
@ -58,9 +58,5 @@ repositories {
|
|||
|
||||
apply from: "$rootDir/common-dependencies.gradle"
|
||||
|
||||
lintKotlinMain {
|
||||
exclude 'generated-src/**/*.kt'
|
||||
}
|
||||
|
||||
preBuild.dependsOn(lintKotlin)
|
||||
lintKotlin.dependsOn(formatKotlin)
|
||||
|
|
|
@ -167,7 +167,7 @@ interface ThemeSourceGenerator {
|
|||
}
|
||||
}
|
||||
|
||||
File("$classPath/${source.className}.kt").writeText("""
|
||||
File("$classPath/${source.className}.kt").writeText("""/* ktlint-disable */
|
||||
// THIS FILE IS AUTO-GENERATED; DO NOT EDIT
|
||||
package eu.kanade.tachiyomi.extension.${pkgNameSuffix(source, ".")}
|
||||
|
||||
|
|
|
@ -415,7 +415,6 @@ class ManwahentaiMe : Madara("Manwahentai.me", "https://manhwahentai.me", "en")
|
|||
|
||||
class Manga3asq : Madara("مانجا العاشق", "https://3asq.org", "ar")
|
||||
|
||||
|
||||
class Milftoon : Madara("Milftoon", "https://milftoon.xxx", "en") {
|
||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=views", headers)
|
||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=latest", headers)
|
||||
|
@ -725,7 +724,6 @@ class ManhuaPlus : Madara("Manhua Plus", "https://manhuaplus.com", "en") {
|
|||
override val pageListParseSelector = "li.blocks-gallery-item"
|
||||
}
|
||||
|
||||
|
||||
@Nsfw
|
||||
class ToonilyNet : Madara("Toonily.net", "https://toonily.net", "en")
|
||||
|
||||
|
|
Loading…
Reference in New Issue