mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
abea51c805
also bumping up to kotlin 1.4.20 and using jsetbrains kotlin for parcelize (needed for mass migration) With this we can close #684 because we are TRULY finished
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
plugins {
|
|
id(Plugins.kotlinter.name) version Plugins.kotlinter.version
|
|
id(Plugins.gradleVersions.name) version Plugins.gradleVersions.version
|
|
id(Plugins.jetbrainsKotlin) version Versions.kotlin apply false
|
|
}
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { setUrl("https://jitpack.io") }
|
|
maven { setUrl("https://plugins.gradle.org/m2/") }
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = Plugins.kotlinter.name)
|
|
|
|
kotlinter {
|
|
experimentalRules = true
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
dependencies {
|
|
classpath(LegacyPluginClassPath.fireBaseCrashlytics)
|
|
classpath(LegacyPluginClassPath.androidGradlePlugin)
|
|
classpath(LegacyPluginClassPath.googleServices)
|
|
classpath(LegacyPluginClassPath.kotlinPlugin)
|
|
classpath(LegacyPluginClassPath.aboutLibraries)
|
|
classpath(LegacyPluginClassPath.kotlinSerializations)
|
|
}
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
tasks.named("dependencyUpdates", com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask::class.java).configure {
|
|
rejectVersionIf {
|
|
isNonStable(candidate.version)
|
|
}
|
|
// optional parameters
|
|
checkForGradleUpdate = true
|
|
outputFormatter = "json"
|
|
outputDir = "build/dependencyUpdates"
|
|
reportfileName = "report"
|
|
}
|
|
|
|
tasks.register("clean", Delete::class) {
|
|
delete(rootProject.buildDir)
|
|
}
|