-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (34 loc) · 1003 Bytes
/
Copy pathbuild.gradle
File metadata and controls
34 lines (34 loc) · 1003 Bytes
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
buildscript {
ext {
kotlin_version = '1.7.10'
compose_version = '1.3.0-beta01'
lifecycle_version = '2.6.0-alpha01'
moshi_version = '1.13.0'
retrofit_version = '2.9.0'
hilt_version = '2.43.2'
room_version = '2.4.3'
accompanist_version = "0.22.0-rc"
media3_version = "1.0.0-beta02"
}
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
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"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}