-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbuild.gradle
41 lines (37 loc) · 1.25 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.hilt_version = '2.52'
ext.room_version = '2.6.1'
ext.useCrashlytics = file("networksurvey/google-services.json").exists()
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.8.0'
if (useCrashlytics) {
classpath 'com.google.gms:google-services:4.4.2'
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
}
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.24-1.0.20"
}
}
plugins {
alias(libs.plugins.org.jetbrains.kotlin.android) apply false
//alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kotlin.kapt) apply false
alias(libs.plugins.kotlin.parcelize) apply false
//alias(libs.plugins.google.devtools.ksp) apply false
}
allprojects {
repositories {
mavenLocal()
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
tasks.register('clean', Delete) {
delete rootProject.layout.buildDirectory
}