-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
76 lines (72 loc) · 2.9 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://plugins.gradle.org/m2/" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.0'
classpath 'com.google.gms:google-services:4.3.14'
classpath 'io.fabric.tools:gradle:1.30.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.firebase:firebase-appdistribution-gradle:4.0.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://pkgs.dev.azure.com/Synerise/AndroidSDK/_packaging/prod/maven/v1' }
}
}
ext {
androidXAnnotation = '1.5.0'
androidXAppCompat = '1.5.1'
androidXRecycylerView = '1.2.1'
androidXCardView = '1.0.0'
androidXsupportVersion = '1.0.0'
materialDesign = '1.7.0'
rxAndroidVersion = '3.0.1'
okHttp3Version = '4.10.0'
okHttp3LoggingInterceptorVersion = '4.9.1'
retrofitVersion = '2.9.0'
roomVersion = '2.5.2'
work_version = "2.8.1"
// Support
supportAnnotations = "androidx.annotation:annotation:$androidXAnnotation"
appCompatV7 = "androidx.appcompat:appcompat:$androidXAppCompat"
recycler = "androidx.recyclerview:recyclerview:$androidXRecycylerView"
cardView = "androidx.cardview:cardview:$androidXCardView"
supportV4 = "androidx.legacy:legacy-support-v4:$androidXsupportVersion"
design = "com.google.android.material:material:$materialDesign"
// Room
room = "androidx.room:room-runtime:$roomVersion"
roomRx = "androidx.room:room-rxjava3:$roomVersion"
roomAnotationProcessor = "androidx.room:room-compiler:$roomVersion"
// RxJava
rxAndroid = "io.reactivex.rxjava3:rxandroid:$rxAndroidVersion"
rxJava = 'io.reactivex.rxjava3:rxjava:3.1.5'
// OkHttp
okhttp3 = "com.squareup.okhttp3:okhttp:$okHttp3Version"
okhttp3Interceptor = "com.squareup.okhttp3:logging-interceptor:$okHttp3LoggingInterceptorVersion"
// Retrofit
retrofit2 = "com.squareup.retrofit2:retrofit:$retrofitVersion"
retrofit2Converter = "com.squareup.retrofit2:converter-gson:$retrofitVersion"
retrofit2Adapter = "com.squareup.retrofit2:adapter-rxjava3:$retrofitVersion"
// Work Manager
workManager = "androidx.work:work-runtime:$work_version"
// Test
supportTestRunner = 'androidx.test:runner:1.1.0'
supportTestRules = 'androidx.test:rules:1.1.0'
espressoCore = 'androidx.test.espresso:espresso-core:3.1.0'
junit = 'junit:junit:4.11'
roomTesting = "androidx.room:room-testing:$roomVersion"
}
task clean(type: Delete) {
delete rootProject.buildDir
}