diff --git a/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts b/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts index b239e45f4..3f6a77ba8 100644 --- a/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts +++ b/buildSrc/src/main/kotlin/lib-multisrc.gradle.kts @@ -56,7 +56,9 @@ tasks { dependsOn(lintKotlin) } - lintKotlin { - dependsOn(formatKotlin) + if (System.getenv("CI") != "true") { + lintKotlin { + dependsOn(formatKotlin) + } } } diff --git a/common.gradle b/common.gradle index f870d334f..1cdcd23f8 100644 --- a/common.gradle +++ b/common.gradle @@ -121,4 +121,6 @@ tasks.register("writeManifestFile") { } preBuild.dependsOn(writeManifestFile, lintKotlin) -lintKotlin.dependsOn(formatKotlin) +if (System.getenv("CI") != "true") { + lintKotlin.dependsOn(formatKotlin) +} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/lectortmo/LectorTmo.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/lectortmo/LectorTmo.kt index ebe72a7f8..9f71c6bf1 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/lectortmo/LectorTmo.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/lectortmo/LectorTmo.kt @@ -112,7 +112,7 @@ abstract class LectorTmo( } chain.proceed(request) } - .addInterceptor() { chain -> + .addInterceptor { chain -> if (!getSaveLastCFUrlPref()) return@addInterceptor chain.proceed(chain.request()) val request = chain.request() val response = chain.proceed(request) diff --git a/src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt b/src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt index 3e53e12e9..2ed679b93 100644 --- a/src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt +++ b/src/en/aurora/src/eu/kanade/tachiyomi/extension/en/aurora/Aurora.kt @@ -11,7 +11,6 @@ import eu.kanade.tachiyomi.util.asJsoup import okhttp3.Request import okhttp3.Response import rx.Observable -import java.lang.Exception import java.text.SimpleDateFormat import java.util.Locale diff --git a/src/en/buttsmithy/src/eu/kanade/tachiyomi/extension/en/buttsmithy/Buttsmithy.kt b/src/en/buttsmithy/src/eu/kanade/tachiyomi/extension/en/buttsmithy/Buttsmithy.kt index 2860e81ab..ddf0895bd 100644 --- a/src/en/buttsmithy/src/eu/kanade/tachiyomi/extension/en/buttsmithy/Buttsmithy.kt +++ b/src/en/buttsmithy/src/eu/kanade/tachiyomi/extension/en/buttsmithy/Buttsmithy.kt @@ -16,7 +16,6 @@ import org.jsoup.select.Elements import rx.Observable import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.api.get -import java.lang.Exception import java.text.SimpleDateFormat import java.util.Locale diff --git a/src/en/irovedout/src/eu/kanade/tachiyomi/extension/en/irovedout/IRovedOut.kt b/src/en/irovedout/src/eu/kanade/tachiyomi/extension/en/irovedout/IRovedOut.kt index 04a64a32c..96c3c4174 100644 --- a/src/en/irovedout/src/eu/kanade/tachiyomi/extension/en/irovedout/IRovedOut.kt +++ b/src/en/irovedout/src/eu/kanade/tachiyomi/extension/en/irovedout/IRovedOut.kt @@ -11,7 +11,6 @@ import eu.kanade.tachiyomi.util.asJsoup import okhttp3.Request import okhttp3.Response import rx.Observable -import java.lang.Exception import java.text.SimpleDateFormat import java.util.Locale diff --git a/src/pt/lermangaonline/src/eu/kanade/tachiyomi/extension/pt/lermangaonline/LerMangaOnline.kt b/src/pt/lermangaonline/src/eu/kanade/tachiyomi/extension/pt/lermangaonline/LerMangaOnline.kt index fb6724df9..9e09a71ea 100644 --- a/src/pt/lermangaonline/src/eu/kanade/tachiyomi/extension/pt/lermangaonline/LerMangaOnline.kt +++ b/src/pt/lermangaonline/src/eu/kanade/tachiyomi/extension/pt/lermangaonline/LerMangaOnline.kt @@ -116,7 +116,6 @@ class LerMangaOnline : ParsedHttpSource() { private fun searchMangaBySlugParse(response: Response): MangasPage = MangasPage(listOf(mangaDetailsParse(response.asJsoup())), false) - override fun getFilterList(): FilterList = FilterList(GenresFilter) override fun searchMangaSelector() = latestUpdatesSelector()