-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (50 loc) · 1.88 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
plugins {
id 'com.android.library'
id 'com.jfrog.artifactory' version "$jfrogVersion"
id 'maven-publish'
id 'kotlin-android'
id 'kotlin-android-extensions'
}
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'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
abortOnError false
checkReleaseBuilds false
lintConfig file('lint.xml')
}
}
dependencies {
// This library doesn't play nice when it's included as a transative dependency
// So we're adding it as source code...
// api 'io.github.manneohlund:smart-recycler-adapter:5.0.0-rc01'
// api 'io.github.manneohlund:smart-recycler-adapter-viewevent:1.0.0-beta03'
implementation "androidx.recyclerview:recyclerview:$androidxRecyclerViewVersion"
implementation "androidx.appcompat:appcompat:$androidxAppcompatVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version_jdk7"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
}
ext {
libraryName = 'Vendor'
artifact = 'vendor'
libraryDescription = 'Vendor Libraries for Chat SDK'
}
if (project.hasProperty("mavenPublish") && mavenPublish) {
apply from: '../bintray.gradle'
}