-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdependencies.gradle
69 lines (55 loc) · 2.23 KB
/
dependencies.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
ext {
//Android
androidBuildToolsVersion = "30.0.2"
androidMinSdkVersion = 18
androidTargetSdkVersion = 30
androidCompileSdkVersion = 31
kotlinVersion = '1.4.10'
versionMajor = 0
versionMinor = 0
versionPatch = 0
versionBuild = 1
versionCode = versionMajor * 1000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
versionName = "${versionMajor}.${versionMinor}.${versionPatch}"
//Libraries
javaxInjectVersion = '1'
javaxAnnotationVersion = '1.0'
rxJavaVersion = '2.2.8'
rxAndroidVersion = '2.1.1'
//Data
gsonVersion = '2.8.9'
okHttpVersion = '3.8.1'
retrofitVersion = '2.3.0'
androidAnnotationsVersion = '21.0.3'
//Dependency Injection
koin = '1.0.2'
//AWS IOT
awsIot = '2.40.0'
awsIotMobile = '2.40.0'
annotations = [
javaxAnnotation: "javax.annotation:jsr250-com.s.inplayer.api:${javaxAnnotationVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}"
]
reactive = [
rxJava : "io.reactivex.rxjava2:rxjava:${rxJavaVersion}",
rxAndroid: "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}"
]
notificationDependencies = [
aws_iot : "com.amazonaws:aws-android-sdk-iot:${awsIot}",
aws_iot_mobile_client : "com.amazonaws:aws-android-sdk-mobile-client:${awsIotMobile}"
]
networkDependencies = [
gson : "com.google.code.gson:gson:${gsonVersion}",
androidAnnotations: 'androidx.annotation:annotation:1.0.0',
okHttp : "com.squareup.okhttp3:okhttp:${okHttpVersion}",
okHttpLogger : "com.squareup.okhttp3:logging-interceptor:${okHttpVersion}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter : "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter : "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}"
]
inPlayerSDKDependencies = [
dependencyInjection : "org.koin:koin-android:${koin}",
dependencyInjectionCore: "org.koin:koin-core:${koin}",
dependencyInjectionJava: "org.koin:koin-java:${koin}"
]
}