/
build.gradle
92 lines (71 loc) · 2.28 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
buildscript {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.4.0'
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.novoda:bintray-release:0.4.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
}
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
apply plugin: 'com.android.library'
apply plugin: 'me.tatarka.retrolambda'
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
}
lintOptions {
abortOnError false
}
}
dependencies {
compile 'com.parse:parse-android:1.13.1'
compile 'com.parse.bolts:bolts-android:1.4.0'
compile 'com.parse:parsefacebookutils-v3-android:1.10.4@aar'
compile 'com.github.yongjhih.RxBolts:rxbolts2-tasks:2.0.2'
compile 'io.reactivex.rxjava2:rxjava:2.0.1'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
//testCompile "org.mockito:mockito-core:1.+"
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
}
//apply from: 'jacoco-coveralls.gradle'
//apply from: 'jacoco-android-coveralls.gradle'
apply plugin: 'com.novoda.bintray-release'
def getRepositoryUsername() {
return hasProperty('BINTRAY_USER') ? BINTRAY_USER : ""
}
def getRepositoryPassword() {
return hasProperty('BINTRAY_KEY') ? BINTRAY_KEY : ""
}
publish {
userOrg = 'yongjhih'
groupId = 'com.infstory'
artifactId = 'rxparse2-facebook-v3'
publishVersion = '2.0.4'
desc = 'Reactive ParseFacebooUtils v3'
website = 'https://github.com/yongjhih/RxParse'
bintrayUser = getRepositoryUsername()
bintrayKey = getRepositoryPassword()
dryRun = false
}
//group = 'com.github.yongjhih'
apply plugin: 'com.github.dcendents.android-maven'
apply from: 'javadoc.gradle'