12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- buildscript {
- ext {
- kotlinVersion = '1.9.23'
- }
- repositories {
- google()
- gradlePluginPortal()
- mavenCentral()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:8.3.2'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
- classpath "org.jetbrains.kotlin:kotlin-serialization:${kotlinVersion}"
- classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.12'
- classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.6"
- classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.0"
-
-
- }
- }
- configurations.configureEach {
- exclude group: 'org.jetbrains', module: 'annotations-java5'
-
- resolutionStrategy.cacheChangingModulesFor 3600, 'seconds'
- }
- allprojects {
- repositories {
- google()
- mavenCentral()
- maven { url 'https://jitpack.io' }
- gradlePluginPortal()
- }
- }
- tasks.register('clean', Delete) {
- delete rootProject.buildDir
- }
|