Don't format code in CI (#1236)
* Don't format code in CI * format individual extensions
This commit is contained in:
parent
93d1700373
commit
d9f7e58f01
|
@ -56,7 +56,9 @@ tasks {
|
|||
dependsOn(lintKotlin)
|
||||
}
|
||||
|
||||
lintKotlin {
|
||||
dependsOn(formatKotlin)
|
||||
if (System.getenv("CI") != "true") {
|
||||
lintKotlin {
|
||||
dependsOn(formatKotlin)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -121,4 +121,6 @@ tasks.register("writeManifestFile") {
|
|||
}
|
||||
|
||||
preBuild.dependsOn(writeManifestFile, lintKotlin)
|
||||
lintKotlin.dependsOn(formatKotlin)
|
||||
if (System.getenv("CI") != "true") {
|
||||
lintKotlin.dependsOn(formatKotlin)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue