forked from waseefakhtar/dose-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (46 loc) · 1.63 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
buildscript {
ext {
// Before updating, check Kotlin compatibility with Compose Compiler: https://developer.android.com/jetpack/androidx/releases/compose-kotlin#pre-release_kotlin_compatibility
// Also check Jetpack libraries update to go along with it: https://developer.android.com/jetpack/androidx/versions/all-channel
compose_compiler_version = '1.5.2'
compose_version = '1.3.3'
hilt_version = '2.47'
ktlint_version = '10.3.0'
google_services_version = '4.3.13'
firebase_crashlytics_version = '2.9.1'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktlint_version"
classpath "com.google.gms:google-services:$google_services_version"
classpath "com.google.firebase:firebase-crashlytics-gradle:$firebase_crashlytics_version"
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.1.2' apply false
id 'com.android.library' version '8.1.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
id "org.jlleitschuh.gradle.ktlint" version "10.3.0"
}
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
ktlint {
reporters {
reporter "plain"
reporter "html"
}
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}