-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
143 lines (115 loc) · 4.73 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'kotlin-android'
id 'io.realm.kotlin'
id 'kotlin-parcelize'
id 'com.google.gms.google-services'
}
android {
compileSdk 33
defaultConfig {
applicationId "com.xabber.android.ng"
minSdk 23
targetSdk 33
versionCode 4
versionName "9.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
lintOptions {
checkReleaseBuilds false
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '11'
}
dataBinding {
enabled true
}
buildFeatures {
viewBinding true
}
buildToolsVersion '32.1.0 rc1'
}
dependencies {
api fileTree(dir: 'src/main/java', include: '*.jar')
api files('src/main/java/opus.aar')
// Android Support
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.android.material:material:1.9.0'
implementation "androidx.recyclerview:recyclerview:1.3.0"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation "androidx.fragment:fragment-ktx:1.6.0"
implementation 'androidx.preference:preference-ktx:1.2.0'
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
// Test
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
//RxJava3
implementation "io.reactivex.rxjava3:rxjava:3.1.5"
implementation "io.reactivex.rxjava3:rxandroid:$rxAndroidVersion"
implementation'io.reactivex.rxjava2:rxkotlin:2.4.0'
// Retrofit
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava3:$retrofit_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okhttp_version"
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
implementation 'com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0'
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0"
// Coroutines
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
// SlidingPaneLayout
implementation 'androidx.slidingpanelayout:slidingpanelayout:1.2.0'
// ViewBindingPropertyDelegate without reflection
implementation "com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.6"
// Glide
implementation 'com.github.bumptech.glide:glide:4.14.2'
implementation 'jp.wasabeef:glide-transformations:4.3.0'
//Di
implementation "io.insert-koin:koin-core:$koin_version"
implementation "io.insert-koin:koin-android:$koin_version"
// Realm
implementation 'io.realm.kotlin:library-base:1.7.0'
// Open street map
implementation 'org.osmdroid:osmdroid-android:6.1.16'
// QR code scanner
implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation 'com.google.zxing:core:3.5.1'
// Crop
implementation 'com.github.CanHub:Android-Image-Cropper:4.3.2'
// Debug
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
def emojiViewVersion = "1.5.2"
def emojiViewProvider = "GoogleProvider"
implementation "io.github.aghajari:AXEmojiView:$emojiViewVersion"
implementation "io.github.aghajari:AXEmojiView-$emojiViewProvider:$emojiViewVersion"
// PhotoView
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
// Crashlytics
implementation platform('com.google.firebase:firebase-bom:31.2.3')
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
// Firebase
// implementation 'com.google.firebase:firebase-messaging-ktx:23.1.0'
// implementation platform('com.google.firebase:firebase-bom:30.5.0')
// implementation 'com.google.firebase:firebase-core:21.1.1'
// implementation 'com.google.firebase:firebase-analytics'
// implementation 'com.google.firebase:firebase-messaging'
}