-
Notifications
You must be signed in to change notification settings - Fork 611
/
Copy pathbuild.gradle
executable file
·131 lines (95 loc) · 3.96 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
plugins {
id 'com.android.library'
id 'maven-publish'
id 'signing'
id 'kotlin-android'
}
android {
compileSdkVersion Integer.parseInt(project.ANDROID_COMPILE_SDK_VERSION)
defaultConfig {
minSdkVersion Integer.parseInt(project.MIN_SDK)
}
buildTypes {
debug {
minifyEnabled project.hasProperty('minifyDebug') && minifyDebug
proguardFiles getDefaultProguardFile('proguard-android.txt'), '../chat-sdk-proguard-rules.pro', 'proguard-rules.pro'
}
release {
minifyEnabled project.hasProperty('minifyRelease') && minifyRelease
proguardFiles getDefaultProguardFile('proguard-android.txt'), '../chat-sdk-proguard-rules.pro', 'proguard-rules.pro'
}
}
// buildFeatures {
// viewBinding true
// }
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
lint {
abortOnError false
checkReleaseBuilds false
lintConfig file('lint.xml')
}
namespace 'sdk.chat.ui'
}
rootProject.allprojects {
repositories {
mavenCentral()
// jcenter()
maven { url "https://jitpack.io" }
// maven { url "https://dl.bintray.com/manneohlund/maven" }
// maven { url "https://chatsdk.jfrog.io/artifactory/release/chatkit" }
// maven { url "https://chatsdk.jfrog.io/artifactory/release/matisse" }
// maven { url "https://chatsdk.jfrog.io/artifactory/release/material-search-view" }
// maven { url "https://chatsdk.jfrog.io/artifactory/release/android-image-cropper" }
// maven { url "https://chatsdk.jfrog.io/artifactory/release/android-audio-recorder" }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
api project(':chat-sdk-core')
// implementation project(':vendor-matisse')
// implementation project(':vendor-filepicker')
api project(':vendor-chatkit')
implementation 'com.yanzhenjie:album:2.1.3'
// Test
api "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
implementation "org.ocpsoft.prettytime:prettytime:$prettyTimeVersion"
implementation "com.github.chrisbanes:PhotoView:$photoViewVersion"
// implementation "com.squareup.okhttp3:okhttp:$okHttpVersion"
implementation "id.zelory:compressor:$compressorVersion"
implementation "com.jakewharton.rxrelay2:rxrelay:$rxRelayVersion"
// Dependencies required by other Chat SDK libraries
api "androidx.constraintlayout:constraintlayout:$androidxConstraintLayoutVersion"
api "com.google.android.material:material:$materialVersion"
api "com.mikepenz:google-material-typeface:$iconicsGoogleMaterialIconsVersion"
api "com.mikepenz:fontawesome-typeface:$iconicsFontAwesomeTypefaceVersion"
api "com.mikepenz:iconics-core:$iconicsVersion"
api "com.mikepenz:iconics-views:$iconicsVersion"
api "de.hdodenhof:circleimageview:$circleImageViewVersion"
implementation "com.jaredrummler:material-spinner:$materialSpinnerVersion"
implementation "net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:$keyboardVisibilityEventVersion"
// Audio
// implementation "sdk.chat:android-audio-recorder:$androidAudioRecorderVersion"
api project(':vendor-android-audio-recorder')
implementation "com.github.bumptech.glide:glide:$glideVersion"
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
implementation 'com.intuit.sdp:sdp-android:1.0.6'
implementation 'com.mikhaellopez:circularprogressbar:3.1.0'
// api 'com.github.Mindinventory:Lassi:1.2.0'
// api 'com.github.Mindinventory:Lassi:1.1.0'
api 'com.github.Mindinventory:Lassi-Android:1.1.0'
//
}
ext {
libraryName = 'CoreUI'
artifact = 'ui'
libraryDescription = 'Core UI'
}
if (project.hasProperty("mavenPublish") && mavenPublish) {
apply from: '../bintray.gradle'
}