-
Notifications
You must be signed in to change notification settings - Fork 52
/
settings.gradle
44 lines (38 loc) · 1.92 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
rootProject.name = "PrimeDatePicker"
include ':library'
include ':sample-app'
include ':sample-app-java'
enableFeaturePreview('VERSION_CATALOGS')
dependencyResolutionManagement {
versionCatalogs {
dep {
alias('primecalendar').to('com.aminography:primecalendar:1.7.0')
alias('androidx-lifecycleKtx').to('androidx.lifecycle:lifecycle-runtime-ktx:2.2.0')
version('coroutines', '1.5.2')
alias('coroutines-core').to('org.jetbrains.kotlinx', 'kotlinx-coroutines-core').versionRef('coroutines')
alias('coroutines-android').to('org.jetbrains.kotlinx', 'kotlinx-coroutines-android').versionRef('coroutines')
bundle('coroutines', ['coroutines-core', 'coroutines-android'])
alias('androidx-appcompat').to('androidx.appcompat:appcompat:1.2.0')
alias('androidx-constraintlayout').to('androidx.constraintlayout:constraintlayout:2.0.4')
alias('android-material').to('com.google.android.material:material:1.2.1')
bundle('ui', ['androidx-appcompat', 'androidx-constraintlayout', 'android-material'])
alias('junit-core').to('junit:junit:4.13.2')
alias('androidx-junit').to('androidx.test.ext:junit:1.1.3')
alias('androidx-espresso').to('androidx.test.espresso:espresso-core:3.4.0')
bundle('androidTest', ['androidx-junit', 'androidx-espresso'])
}
plugin {
alias('android-gradle').to('com.android.tools.build:gradle:7.0.4')
alias('jetbrains-kotlin').to('org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10')
alias('jetbrains-dokka').to('org.jetbrains.dokka:dokka-gradle-plugin:1.5.0')
alias('nexus-publish').to('io.github.gradle-nexus:publish-plugin:1.1.0')
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}