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)
|
dependsOn(lintKotlin)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (System.getenv("CI") != "true") {
|
||||||
lintKotlin {
|
lintKotlin {
|
||||||
dependsOn(formatKotlin)
|
dependsOn(formatKotlin)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -121,4 +121,6 @@ tasks.register("writeManifestFile") {
|
||||||
}
|
}
|
||||||
|
|
||||||
preBuild.dependsOn(writeManifestFile, lintKotlin)
|
preBuild.dependsOn(writeManifestFile, lintKotlin)
|
||||||
|
if (System.getenv("CI") != "true") {
|
||||||
lintKotlin.dependsOn(formatKotlin)
|
lintKotlin.dependsOn(formatKotlin)
|
||||||
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ abstract class LectorTmo(
|
||||||
}
|
}
|
||||||
chain.proceed(request)
|
chain.proceed(request)
|
||||||
}
|
}
|
||||||
.addInterceptor() { chain ->
|
.addInterceptor { chain ->
|
||||||
if (!getSaveLastCFUrlPref()) return@addInterceptor chain.proceed(chain.request())
|
if (!getSaveLastCFUrlPref()) return@addInterceptor chain.proceed(chain.request())
|
||||||
val request = chain.request()
|
val request = chain.request()
|
||||||
val response = chain.proceed(request)
|
val response = chain.proceed(request)
|
||||||
|
|
|
@ -11,7 +11,6 @@ import eu.kanade.tachiyomi.util.asJsoup
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
import okhttp3.Response
|
import okhttp3.Response
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import java.lang.Exception
|
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ import org.jsoup.select.Elements
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import uy.kohesive.injekt.Injekt
|
import uy.kohesive.injekt.Injekt
|
||||||
import uy.kohesive.injekt.api.get
|
import uy.kohesive.injekt.api.get
|
||||||
import java.lang.Exception
|
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ import eu.kanade.tachiyomi.util.asJsoup
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
import okhttp3.Response
|
import okhttp3.Response
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import java.lang.Exception
|
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,6 @@ class LerMangaOnline : ParsedHttpSource() {
|
||||||
private fun searchMangaBySlugParse(response: Response): MangasPage =
|
private fun searchMangaBySlugParse(response: Response): MangasPage =
|
||||||
MangasPage(listOf(mangaDetailsParse(response.asJsoup())), false)
|
MangasPage(listOf(mangaDetailsParse(response.asJsoup())), false)
|
||||||
|
|
||||||
|
|
||||||
override fun getFilterList(): FilterList = FilterList(GenresFilter)
|
override fun getFilterList(): FilterList = FilterList(GenresFilter)
|
||||||
|
|
||||||
override fun searchMangaSelector() = latestUpdatesSelector()
|
override fun searchMangaSelector() = latestUpdatesSelector()
|
||||||
|
|
Loading…
Reference in New Issue