-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.22 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.4.0'
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'com.novoda.bintray-release'
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '0.1.1'
jar {
manifest {
attributes 'Implementation-Title': 'xinra Nucleus Common',
'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.guava:guava:19.0'
compile 'org.codehaus.groovy:groovy:2.4.7'
compile 'org.springframework:spring-context:4.3.5.RELEASE'
testCompile 'junit:junit:4.+'
testCompile 'org.mockito:mockito-core:2.+'
testCompile 'org.assertj:assertj-core:3.8.0'
}
publish {
userOrg = 'xinra'
repoName = 'nucleus'
groupId = 'com.xinra.nucleus'
artifactId = 'nucleus-common'
publishVersion = '0.1.1'
licences = ['BSD 3-Clause']
desc = 'Nucleus cross-layer utilities'
website = 'https://github.com/xinra-nucleus/nucleus-common'
}
sourceSets {
// put everything into /src/*/groovy
main.java.srcDirs = []
test.java.srcDirs = []
}
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}