2022-01-27 17:54:09 +02:00
|
|
|
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("com.github.ben-manes.versions") version Versions.Gradle.Updates
|
2025-08-27 14:44:29 +03:00
|
|
|
id("com.google.devtools.ksp") version Versions.Kotlin.KSP
|
2022-01-27 17:54:09 +02:00
|
|
|
}
|
2021-09-10 16:36:14 +03:00
|
|
|
|
|
|
|
buildscript {
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath (Plugins.GradlePlugin)
|
|
|
|
classpath (Plugins.Kotlin)
|
2022-01-27 17:54:09 +02:00
|
|
|
classpath (Plugins.Hilt)
|
2021-09-10 16:36:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
|
|
|
|
maven { url = uri("https://jitpack.io") }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-27 17:54:09 +02:00
|
|
|
// Task to check update for all dependencies (libraries/plugins/gradle version)
|
|
|
|
tasks.named<DependencyUpdatesTask>("dependencyUpdates").configure {
|
|
|
|
|
|
|
|
// Don't disable "Jacoco" updates | Don't display "non-stable" dependencies updates
|
|
|
|
rejectVersionIf {
|
|
|
|
candidate.module == "org.jacoco.ant" || candidate.version.isDependencyNonStable()
|
|
|
|
}
|
|
|
|
|
2021-09-10 16:36:14 +03:00
|
|
|
}
|