This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
79 lines (66 loc) · 2.03 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
group 'com.github.alorma'
version '0.0.1-SNAPSHOT'
buildscript {
repositories {
jcenter()
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
maven { url "http://dl.bintray.com/android/android-tools" }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.2'
classpath 'me.tatarka:gradle-retrolambda:3.2.4'
classpath 'me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2'
classpath 'com.github.triplet.gradle:play-publisher:1.1.4'
}
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: 'com.android.tools.external.lombok'
}
apply plugin: 'java'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.github.kt3k.coveralls'
repositories {
mavenCentral()
jcenter()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.3.4'
//classpath 'net.saliman:gradle-cobertura-plugin:2.0.0' // cobertura plugin
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0'
}
}
retrolambda {
oldJdk System.getenv("JAVA7_HOME")
}
compileJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
publish {
userOrg = 'gitskarios'
groupId = 'com.github.alorma'
artifactId = 'github-sdk'
publishVersion = '0.0.1-SNAPSHOT'
desc = 'A Java GitHub SDK'
website = 'https://github.com/gitskarios/GithubAndroidSdk_reborn'
}
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'com.squareup.retrofit2:retrofit-mock:2.1.0'
testCompile 'org.assertj:assertj-core:2.3.0'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'com.sergiandreplace.testabean:testabean:1.0.1'
compile 'com.squareup.retrofit2:retrofit:2.0.0'
compile 'com.squareup.retrofit2:converter-gson:2.0.0'
compile 'io.reactivex:rxjava:1.1.3'
}
// cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report