This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle
54 lines (46 loc) · 1.49 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
52
53
54
import com.ankitsuda.rebound.buildSrc.Deps
buildscript {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath Deps.Android.gradle
classpath Deps.Kotlin.gradle
classpath Deps.Kotlin.serialization
// classpath Deps.Android.navigationSafeArgs
classpath Deps.Dagger.hiltGradle
classpath Deps.Kotlin.gradle
// classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
classpath "com.github.ben-manes:gradle-versions-plugin:0.42.0"
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
jcenter()
gradlePluginPortal()
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.FlowPreview"
freeCompilerArgs += "-Xopt-in=kotlin.Experimental"
freeCompilerArgs += "-Xopt-in=coil.annotation.ExperimentalCoilApi"
freeCompilerArgs += "-Xopt-in=com.google.accompanist.pager.ExperimentalPagerApi"
}
}
}
subprojects {
configurations.configureEach {
exclude group: 'androidx.appcompat'
exclude group: 'com.google.android.material', module: 'material'
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}