-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.92 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
* Private Contacts
* Copyright (c) 2022.
* Florian Gubler
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// compose versions: see https://developer.android.com/jetpack/androidx/releases/compose
buildscript {
ext {
kotlinVersion = "2.0.21"
composeVersion = "1.7.0"
composeMaterialVersion = "1.7.0"
composeCompilerVersion = "1.7.0"
coroutinesVersion = "1.8.0"
androidLifecycleVersion = "2.8.7"
androidReviewVersion = "2.0.2"
kspVersion = '2.0.21-1.0.25'
ktlintVersion = "11.3.1"
koinVersion = "4.0.0"
roomVersion = "2.6.1"
pagingVersion = "3.3.2"
contactStoreVersion = "1.7.0"
junitJupiterVersion = "5.10.1"
junit5AndroidVersion = "1.4.0"
archUnitVersion = "1.2.1"
mockkVersion = "1.13.4" // version 1.13.9 introduces strange bugs with IContactIdInternal
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
classpath "org.jlleitschuh.gradle:ktlint-gradle:${ktlintVersion}"
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.8.2.1"
classpath "com.google.gms:google-services:4.4.2"
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
classpath "androidx.room:room-gradle-plugin:${roomVersion}"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id "org.jlleitschuh.gradle.ktlint" version "${ktlintVersion}"
id 'org.jetbrains.kotlin.plugin.compose' version "${kotlinVersion}" apply false
id 'com.google.devtools.ksp' version "${kspVersion}"
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}