forked from QuickBlox/ChatMessagesAdapter-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (54 loc) · 1.44 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
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'org.ajoberstar:gradle-git:1.1.0'
}
}
apply plugin: 'java'
apply from: 'version.gradle'
ext.mainRepository = getMainRepository();
ext.qbCredentialsAvailable = project.hasProperty('qbRepository')
allprojects {
repositories {
jcenter()
maven {
if (isSnapshot) {
url = qbRepository
credentials {
username qbUser
password qbPassword
}
} else {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
}
maven {
url "https://maven.google.com"
}
}
}
ext.compileSdkVersion = 24
ext.buildToolsVersion = "24.0.1"
ext.versionName = '2.0'
ext.supportAnnotationsVersion = '24.0.1'
ext.minSdkVersion = 14
ext.targetSdkVersion = 24
ext.sourceCompatibility = JavaVersion.VERSION_1_7
ext.targetCompatibility = JavaVersion.VERSION_1_7
ext.qbSdkVersion = "3.3.4"
ext.recycleVersion = "25.3.1"
ext.circleImageVersion = "2.1.0"
ext.glideVersion = "3.8.0"
ext.exoPlayerVersion = "r2.5.1"
ext.supportV4Version = "25.3.1"
task clean(type: Delete) {
delete rootProject.buildDir
}
def getMainRepository() {
def repoUrl = project.properties["qbRepository"]
return repoUrl
}