-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
129 lines (109 loc) · 7.28 KB
/
settings.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
enableFeaturePreview('VERSION_CATALOGS')
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
versionCatalogs {
libs {
// Kotlin
alias('kotlin-datetime').to('org.jetbrains.kotlinx', 'kotlinx-datetime').version('0.3.2')
version('coroutines', '1.6.0-RC')
alias('coroutines-core').to('org.jetbrains.kotlinx', 'kotlinx-coroutines-core').versionRef('coroutines')
alias('coroutines-android').to('org.jetbrains.kotlinx', 'kotlinx-coroutines-android').versionRef('coroutines')
// Android
alias('android-desugar').to('com.android.tools', 'desugar_jdk_libs').version('1.1.5')
alias('androidx-lifecycle-process').to('androidx.lifecycle', 'lifecycle-process').version('2.4.0')
// UI
version('compose', '1.2.0-alpha08')
alias('compose-ui').to('androidx.compose.ui', 'ui').versionRef('compose')
alias('compose-material').to('androidx.compose.material', 'material').versionRef('compose')
alias('compose-tooling').to('androidx.compose.ui', 'ui-tooling').versionRef('compose')
alias('activity-compose').to('androidx.activity', 'activity-compose').version('1.4.0')
alias('appcompat').to('androidx.appcompat', 'appcompat').version('1.4.0')
alias('coil').to('io.coil-kt', 'coil-compose').version('1.4.0')
// Accompanist
alias('accompanist-systemuicontroller').to('com.google.accompanist', 'accompanist-systemuicontroller').version('0.20.0')
// Architecture
version('sesame', '1.5.0')
alias('sesame-loading').to('com.github.aartikov', 'sesame-loading').versionRef('sesame')
alias('sesame-dialog').to('com.github.aartikov', 'sesame-dialog').versionRef('sesame')
alias('sesame-localizedString').to('com.github.aartikov', 'sesame-localized-string').versionRef('sesame')
alias('sesame-composeForm').to('com.github.aartikov', 'sesame-compose-form').versionRef('sesame')
bundle('sesame', ['sesame-loading', 'sesame-dialog', 'sesame-localizedString', 'sesame-composeForm'])
version('decompose', '0.5.0')
alias('decompose-core').to('com.arkivanov.decompose', 'decompose').versionRef('decompose')
alias('decompose-compose').to('com.arkivanov.decompose', 'extensions-compose-jetpack').versionRef('decompose')
bundle('decompose', ['decompose-core', 'decompose-compose'])
version('replica', '1.0.0-alpha4')
alias('replica-core').to('com.github.aartikov', 'replica-core').versionRef('replica')
alias('replica-algebra').to('com.github.aartikov', 'replica-algebra').versionRef('replica')
alias('replica-android-network').to('com.github.aartikov', 'replica-android-network').versionRef('replica')
alias('replica-decompose').to('com.github.aartikov', 'replica-decompose').versionRef('replica')
alias('replica-devtools-debug').to('com.github.aartikov', 'replica-devtools').versionRef('replica')
alias('replica-devtools-release').to('com.github.aartikov', 'replica-devtools-noop').versionRef('replica')
bundle('replica', ['replica-core', 'replica-algebra', 'replica-android-network', 'replica-decompose'])
// Serialization
version('serialization', '1.3.0')
alias('serialization-core').to('org.jetbrains.kotlinx', 'kotlinx-serialization-core').versionRef('serialization')
alias('serialization-json').to('org.jetbrains.kotlinx', 'kotlinx-serialization-json').versionRef('serialization')
// Network
alias('retrofit-core').to('com.squareup.retrofit2', 'retrofit').version('2.9.0')
alias('retrofit-converter-serialization').to('com.jakewharton.retrofit', 'retrofit2-kotlinx-serialization-converter').version('0.8.0')
alias('okhttp-logging').to('com.squareup.okhttp3', 'logging-interceptor').version('4.9.2')
// DI
version('koin', '3.1.2')
alias('koin-android').to('io.insert-koin', 'koin-android').versionRef('koin')
alias('koinTest').to('io.insert-koin', 'koin-test').versionRef('koin')
alias('koinTestJunit').to('io.insert-koin', 'koin-test-junit4').versionRef('koin')
bundle('koin-test', ['koinTest', 'koinTestJunit'])
// Security
alias('securitypreferences').to('androidx.security', 'security-crypto').version('1.0.0')
alias('biometric').to('androidx.biometric', 'biometric-ktx').version('1.2.0-alpha04')
// Code quality
version('detekt', '1.18.1')
alias('detekt-formatting').to('io.gitlab.arturbosch.detekt', 'detekt-formatting').versionRef('detekt')
version('room', '2.4.1')
alias('room-runtime').to('androidx.room', 'room-runtime').versionRef('room')
alias('room-compiler').to('androidx.room', 'room-compiler').versionRef('room')
alias('room-ktx').to('androidx.room', 'room-ktx').versionRef('room')
bundle('room', ['room-runtime', 'room-ktx'])
// Debugging
alias('timber').to('com.jakewharton.timber', 'timber').version('5.0.1')
version('hyperion', '0.9.34')
version('hyperionAddons', '0.3.3')
alias('hyperion-core').to('com.willowtreeapps.hyperion', 'hyperion-core').versionRef('hyperion')
alias('hyperion-recorder').to('com.willowtreeapps.hyperion', 'hyperion-recorder').versionRef('hyperion')
alias('hyperion-crash').to('com.willowtreeapps.hyperion', 'hyperion-crash').versionRef('hyperion')
alias('hyperion-disk').to('com.willowtreeapps.hyperion', 'hyperion-disk').versionRef('hyperion')
alias('hyperion-addons-logs').to('me.nemiron.hyperion', 'logs').versionRef('hyperionAddons')
alias('hyperion-addons-networkEmulation').to('me.nemiron.hyperion', 'network-emulation').versionRef('hyperionAddons')
alias('hyperion-addons-chucker').to('me.nemiron.hyperion', 'chucker').versionRef('hyperionAddons')
bundle('hyperion',
['hyperion-core', 'hyperion-recorder', 'hyperion-crash', 'hyperion-disk',
'hyperion-addons-logs', 'hyperion-addons-networkEmulation', 'hyperion-addons-chucker']
)
version('chucker', '3.5.2')
alias('chucker-main').to('com.github.chuckerteam.chucker', 'library').versionRef('chucker')
alias('chucker-noop').to('com.github.chuckerteam.chucker', 'library-no-op').versionRef('chucker')
// Testing
alias('junit').to('junit', 'junit').version('4.13.2')
alias('extJunit').to('androidx.test.ext', 'junit-ktx').version('1.1.3')
alias('mockWebServer').to('com.squareup.okhttp3', 'mockwebserver').version('4.3.1')
alias('awaitility').to('org.awaitility', 'awaitility-kotlin').version('4.2.0')
alias('robolectric').to('org.robolectric', 'robolectric').version('4.7.3')
}
}
}
rootProject.name = "education-space-android"
include ':app'
include ':core'
include ':features'