2021-03-21 05:00:55 +01:00
|
|
|
plugins {
|
2021-03-25 19:55:59 +01:00
|
|
|
id(Plugins.kotlinter.name) version Plugins.kotlinter.version
|
2021-03-21 05:00:55 +01:00
|
|
|
id(Plugins.gradleVersions.name) version Plugins.gradleVersions.version
|
2021-03-30 05:50:46 +02:00
|
|
|
id(Plugins.jetbrainsKotlin) version Versions.kotlin apply false
|
2020-06-05 21:41:13 +02:00
|
|
|
}
|
2020-03-07 13:08:50 +01:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
maven { setUrl("https://jitpack.io") }
|
2020-05-31 02:30:53 +02:00
|
|
|
maven { setUrl("https://plugins.gradle.org/m2/") }
|
2020-03-07 13:08:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-21 05:00:55 +01:00
|
|
|
subprojects {
|
2021-03-25 19:55:59 +01:00
|
|
|
apply(plugin = Plugins.kotlinter.name)
|
|
|
|
|
|
|
|
kotlinter {
|
|
|
|
experimentalRules = true
|
2021-03-21 05:00:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
2020-05-31 02:30:53 +02:00
|
|
|
|
2020-03-07 13:08:50 +01:00
|
|
|
tasks.register("clean", Delete::class) {
|
|
|
|
delete(rootProject.buildDir)
|
2021-03-21 05:00:55 +01:00
|
|
|
}
|