-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (50 loc) · 1.88 KB
/
build.gradle
File metadata and controls
57 lines (50 loc) · 1.88 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '2.1.0'
compose_version = '1.8.3'
material3_version = '1.3.1'
jupiter_version = '5.13.4'
dagger_version = '2.57'
hilt_version = '1.2.0'
androidx_lifecycle_version = '2.9.2'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.13.1'
classpath 'com.google.gms:google-services:4.4.3'
classpath 'com.google.firebase:perf-plugin:2.0.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.6'
classpath "com.google.dagger:hilt-android-gradle-plugin:$dagger_version"
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.13.1.0"
// To prevent Hilt dependency error
classpath "com.squareup:javapoet:1.13.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// Secrets and variables
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
}
}
plugins {
id 'org.jetbrains.kotlin.android' version "${kotlin_version}" apply false
id 'com.google.devtools.ksp' version "${kotlin_version}-1.0.29" apply false
id 'org.jetbrains.kotlin.plugin.serialization' version "${kotlin_version}" apply false
id 'org.jetbrains.kotlin.plugin.compose' version "${kotlin_version}" apply false
id 'com.google.dagger.hilt.android' version "${dagger_version}" apply false
}
allprojects {
repositories {
google()
mavenCentral()
}
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}