-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
74 lines (67 loc) · 1.48 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
plugins {
id 'java'
id 'jacoco'
id 'maven-publish'
id 'com.github.kt3k.coveralls' version '2.6.3'
id 'com.jfrog.bintray' version '1.7'
id 'nebula.javadoc-jar' version '4.4.4'
id 'nebula.source-jar' version '4.4.4'
}
group = 'com.lazan'
version = '0.0.1-SNAPSHOT'
repositories {
jcenter()
maven {
url 'https://dl.bintray.com/uklance/maven'
}
}
dependencies {
compile 'com.lazan:tiny-ioc:0.0.8'
//compile fileTree(dir:'../tiny-ioc/build/libs', include:'*-SNAPSHOT.jar')
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'com.h2database:h2:1.3.172'
testCompile 'org.hsqldb:hsqldb:2.3.2'
testCompile 'com.h2database:h2:1.4.187'
testCompile 'org.apache.derby:derby:10.11.1.1'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
bintray {
user = project.properties['bintrayUser']
key = project.properties['bintrayKey']
publications = ['maven', 'nebula']
publish = false
pkg {
repo = 'maven'
name = project.name
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/uklance/tader.git'
githubRepo = 'uklance/tader'
//labels = ['ioc']
version {
name = project.version
released = new Date()
desc = "Tader ${project.version}"
}
}
}
test {
testLogging {
exceptionFormat = 'full'
}
beforeTest { TestDescriptor descriptor ->
logger.lifecycle(" Running: $descriptor")
}
}