-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
83 lines (77 loc) · 2.86 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
71
72
73
74
75
76
77
78
79
80
81
82
83
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
kotlin_plugin : '1.6.21',
kotlin : '1.6.21',
appcompat : '1.4.1',
coroutines : '1.6.1',
json : '1.0.1',
constraint_layout : '2.1.3',
hilt : '2.40.5',
lifecycle : '2.4.1',
timber : "5.0.1",
junit : '4.13.2',
junit_ext : '1.1.3',
espresso : '3.4.0',
mockito : '3.3.3',
nodes_arch : '2.3.5',
retrofit : '2.9.0',
retrofit_converter : '0.8.0',
okhttp : '4.9.1',
ktx_core : '1.7.0',
ktx : '1.7.0',
material : '1.6.0',
archCore : '2.1.0',
navigation : '2.4.2',
nodes_utils : '1.0.0',
nodes_utils_okhttp : '0.12.2',
preferences : '1.1.1',
chucker : '3.3.0',
leak_canary : '2.5',
desugaring : '1.0.9',
datastore : '1.0.0',
compose : '1.2.0-beta02',
material3 : '1.0.1',
splash_screen : '1.0.0',
hilt_navigation_compose: '1.0.0',
room : '2.4.3',
paging_compose : '1.0.0-alpha17',
accompanist : '0.24.9-beta',
accompanist_permission : '0.20.2',
]
ext.keys = [
appId : 'IXmpT4N7MJbGEXvDfGqGH4UKHrmV0EOqFeK0',
apiKey : 'LqWLm621BwIxNRzdrei88pKhIIEI2EE8ni8r',
acceptHeader: "en-GB"
]
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin_plugin}"
classpath "com.google.dagger:hilt-android-gradle-plugin:${versions.hilt}"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id "com.diffplug.spotless" version "5.9.0"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
subprojects {
apply plugin: 'com.diffplug.spotless'
spotless {
kotlin {
target "**/*.kt"
ktlint('0.40.0').userData(["disabled_rules": "no-wildcard-imports"])
targetExclude("**/RateReminderActions.kt")
}
}
}