2024-02-05 21:50:43 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
2024-05-05 15:46:34 +02:00
|
|
|
ext.kotlin_version = '1.9.23'
|
2024-02-05 21:50:43 +01:00
|
|
|
dependencies {
|
2024-02-14 07:09:48 +01:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
classpath 'com.android.tools.build:gradle:8.2.2'
|
|
|
|
classpath "gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.1"
|
|
|
|
classpath 'org.codehaus.groovy:groovy-xml:3.0.19'
|
2024-02-05 21:50:43 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-27 19:18:05 +01:00
|
|
|
//plugins {
|
|
|
|
// id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
|
|
|
|
//}
|
2024-03-13 22:39:17 +01:00
|
|
|
|
2024-02-05 21:50:43 +01:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: "checkstyle"
|
|
|
|
checkstyle {
|
|
|
|
toolVersion '10.3.1'
|
|
|
|
}
|
|
|
|
|
2024-02-14 07:09:48 +01:00
|
|
|
tasks.register('checkstyle', Checkstyle) {
|
2024-02-05 21:50:43 +01:00
|
|
|
classpath = files()
|
|
|
|
source "${project.rootDir}"
|
|
|
|
exclude("**/gen/**")
|
|
|
|
exclude("**/generated/**")
|
|
|
|
}
|