-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (60 loc) · 2.29 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google() // Google's Maven repository
mavenCentral() // Maven Central repository
}
ext {
kotlin_version = "1.6.10"
appcompat_version = "1.4.1"
constraintlayout_version = "2.1.3"
core_ktx_version = "1.7.0"
material_version = "1.6.0"
nav_version = '2.4.1'
play_services_maps = "18.1.0"
lifecycle_version = "2.4.1"
room_version = "2.4.2"
kapt_version = "1.6.21"
hilt_version = "2.41"
hilt_lifecycle_viewmodel_version = "1.0.0-alpha03"
hilt_compiler_version = "1.0.0"
hilt_navigation_compose_version = "1.0.0"
// Jetpack Compose関係
gradle_version = '7.2.1'
androidx_activity_compose_version = "1.5.0"
compose_version = "1.2.0"
compose_nav_version = "2.5.0-beta01"
compose_maps_version = "2.5.3"
// accompanist
accompanist_version = "0.26.1-alpha"
// google-service
google_services_version = "4.3.13"
// Firebase BoM
firebase_bom_version = "30.3.2"
// Crashlytics
firebase_crashlytics_version = "2.9.1"
}
dependencies {
classpath "com.android.tools.build:gradle:${gradle_version}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "com.google.gms:google-services:$google_services_version"
classpath "com.google.firebase:firebase-crashlytics-gradle:$firebase_crashlytics_version"
}
}
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.6.10' apply false
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false
}
allprojects {
repositories {
google() // Google's Maven repository
mavenCentral() // Maven Central repository
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}