-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle
40 lines (37 loc) · 1.02 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
buildscript {
ext {
kotlin_version = '1.7.10'
compose_version = '1.3.0-beta03'
lifecycle_version = '2.6.0-alpha02'
moshi_version = '1.13.0'
retrofit_version = '2.9.0'
accompanist_version = "0.20.3"
hilt_version = '2.43.2'
}
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
}
}
allprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
allWarningsAsErrors = true
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
}
}
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}