-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
52 lines (43 loc) · 1.26 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
group 'com.fewlaps.quitnowemailsuggester'
version '2.0.0'
apply plugin: 'java'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'cobertura'
apply plugin: 'com.github.kt3k.coveralls'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.code.gson:gson:1.7.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.9.1'
classpath 'net.saliman:gradle-cobertura-plugin:2.0.0' // cobertura plugin
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.4.0'
}
}
compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}
publish {
userOrg = 'fewlaps'
groupId = 'com.fewlaps.quitnowemailsuggester'
artifactId = 'quitnow-email-suggester'
publishVersion = '2.0.0'
desc = ''
website = 'https://github.com/Fewlaps/quitnow-email-suggester'
}
cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report
task gitUpdateSubmodules(type: Exec) {
description 'Initialize git submodules.'
commandLine "git", "submodule","update","--init","--recursive"
}
gradle.projectsEvaluated {
compileJava.dependsOn(gitUpdateSubmodules)
}