-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
51 lines (46 loc) · 1.42 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
coil_version = '2.7.0'
compose_version = '1.7.5'
fuel_version = '2.3.1'
glide_version = '4.12.0'
hilt_version = '2.52'
kotlin_version = '2.0.21'
kotlinx_version = '1.9.0'
lifecycle_version = '2.8.7'
media3_version = '1.4.1'
room_version = '2.6.1'
}
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.7.2'
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:12.1.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id('com.google.devtools.ksp') version "$kotlin_version-1.0.25" apply false
id('org.jetbrains.kotlin.plugin.compose') version "$kotlin_version" apply false
}
allprojects {
repositories {
google()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}