buildscript { repositories { google() mavenCentral() gradlePluginPortal() } ext.kotlin_version = '1.9.24' dependencies { 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' } } plugins { id 'com.google.devtools.ksp' version '1.9.24-1.0.20' apply false } allprojects { repositories { google() mavenCentral() maven { url "https://jitpack.io" } } } apply plugin: "checkstyle" checkstyle { toolVersion '10.3.1' } tasks.register('checkstyle', Checkstyle) { classpath = files() source "${project.rootDir}" exclude("**/gen/**") exclude("**/generated/**") }