summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-07-11 07:11:15 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-07-11 07:11:15 +0000
commit921756bb2f3bb7891386f5aac551fe775d454a78 (patch)
tree9d1162115ae1e27ad27417f3ba90a3fb72919e00 /build.gradle
parent8b1855bce1313ad84df8f96efdbb62e2acf7ff33 (diff)
2: integrate ipscrambling module in git repos and update dependencies
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle23
1 files changed, 7 insertions, 16 deletions
diff --git a/build.gradle b/build.gradle
index 824c306..8f6ecf3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -39,28 +39,19 @@ buildscript {
// Load properties either from local.properties or system environment (on CI).
apply from: rootProject.file('load-properties.gradle')
- // Load dependencies as extra properties.
- apply from: rootProject.file('dependencies.gradle')
-
repositories {
google()
mavenCentral()
}
-
- dependencies {
- classpath Libs.androidGradlePlugin
- classpath Libs.Kotlin.gradlePlugin
- classpath Libs.AndroidX.navigation.safeArgs
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
}
plugins {
- id 'com.diffplug.spotless' version '5.12.4'
- id 'com.github.ben-manes.versions' version '0.38.0'
- id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
+ alias libs.plugins.spotless
+ alias libs.plugins.benmanes.versions
+ alias libs.plugins.kotlin.android apply false
+ alias libs.plugins.android.application apply false
+ alias libs.plugins.kotlin.kapt apply false
+ alias libs.plugins.androidx.navigation.safeargs apply false
}
allprojects {
@@ -82,7 +73,7 @@ subprojects {
targetExclude("$buildDir/**/*.kt")
targetExclude('bin/**/*.kt')
targetExclude '**/spotless/*.kt'
- ktlint(Versions.ktlint)
+ ktlint("0.40.0")
}
format 'misc', {
// define the files to apply `misc` to