forked from kittinunf/fuel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (57 loc) · 1.52 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'jacoco-android'
android {
compileSdkVersion fuelCompileSdkVersion
defaultConfig {
minSdkVersion 14
targetSdkVersion fuelCompileSdkVersion
versionCode 1
versionName publishVersion
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test.java.srcDirs += 'src/test/kotlin'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_6
targetCompatibility JavaVersion.VERSION_1_6
}
buildTypes {
release {
minifyEnabled false
consumerProguardFiles 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
testOptions {
unitTests.returnDefaultValues = true
}
}
jacocoAndroidUnitTestReport {
csv.enabled false
html.enabled true
xml.enabled true
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
compile project(':fuel')
testCompile "junit:junit:$junitVersion"
testCompile "org.robolectric:robolectric:$robolectricVersion"
}
publish {
artifactId = 'fuel-android'
autoPublish = true
desc = 'The easiest HTTP networking library in Kotlin/Android'
groupId = 'com.github.kittinunf.fuel'
licences = ['MIT']
publishVersion = publishVersion
uploadName = 'Fuel-Android'
website = 'https://github.com/kittinunf/Fuel'
}
tasks.withType(Javadoc) {
enabled = false
}