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"
|
apply from: "$rootDir/common-dependencies.gradle"
|
||||||
|
|
||||||
lintKotlinMain {
|
|
||||||
exclude 'generated-src/**/*.kt'
|
|
||||||
}
|
|
||||||
|
|
||||||
preBuild.dependsOn(lintKotlin)
|
preBuild.dependsOn(lintKotlin)
|
||||||
lintKotlin.dependsOn(formatKotlin)
|
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
|
// THIS FILE IS AUTO-GENERATED; DO NOT EDIT
|
||||||
package eu.kanade.tachiyomi.extension.${pkgNameSuffix(source, ".")}
|
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 Manga3asq : Madara("مانجا العاشق", "https://3asq.org", "ar")
|
||||||
|
|
||||||
|
|
||||||
class Milftoon : Madara("Milftoon", "https://milftoon.xxx", "en") {
|
class Milftoon : Madara("Milftoon", "https://milftoon.xxx", "en") {
|
||||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=views", headers)
|
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)
|
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"
|
override val pageListParseSelector = "li.blocks-gallery-item"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Nsfw
|
@Nsfw
|
||||||
class ToonilyNet : Madara("Toonily.net", "https://toonily.net", "en")
|
class ToonilyNet : Madara("Toonily.net", "https://toonily.net", "en")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue