This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
100 lines (85 loc) · 2.55 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
plugins {
id 'org.springframework.boot' version '1.5.6.RELEASE' apply false
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'maven-publish'
bootRepackage.enabled = false
group = "com.resonate"
if(project.hasProperty("teamcity")) {
version teamcity['build.number']
} else {
version 'SNAPSHOT'
}
sourceCompatibility = "1.8"
repositories {
mavenLocal()
maven { url 'https://repo.spring.io/libs-release' }
maven { url 'https://repo.spring.io/libs-snapshot' }
maven { url "http://nexus.dev.aws.resonatedigital.net/repository/maven-public" }
mavenCentral()
}
dependencies {
compile('com.resonate:spring-data-gremlin-core:0.24.25cf6e6-SNAPSHOT')
compile('com.orientechnologies:orientdb-lucene:2.2.26')
compile('com.orientechnologies:orientdb-graphdb:2.2.26')
compile('com.orientechnologies:orientdb-spatial:2.2.26')
compile('org.springframework.boot:spring-boot-starter')
compile('org.springframework:spring-tx')
compile('org.codehaus.groovy:groovy:1.8.9')
compile('com.tinkerpop.blueprints:blueprints-core:2.6.0')
compile('com.tinkerpop.gremlin:gremlin-java:2.6.0')
compile('com.tinkerpop.gremlin:gremlin-groovy:2.6.0')
compile('org.apache.commons:commons-collections4:4.0')
compile('org.apache.commons:commons-lang3:3.4')
compile('org.reflections:reflections:0.9.9-RC1')
testCompile('junit:junit:4.12')
testCompile('org.mockito:mockito-core:1.10.19')
testCompile("org.springframework:spring-test")
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5.1'
}
artifacts {
archives javadocJar, sourcesJar
}
javadoc {
failOnError = false
}
if (!project.hasProperty('mavenUser')){
ext.mavenUser = ''
}
if (!project.hasProperty('mavenPassword')){
ext.mavenPassword = ''
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
credentials {
username mavenUser
password mavenPassword
}
if(project.version.endsWith('-SNAPSHOT')) {
url "http://nexus.dev.aws.resonatedigital.net/repository/maven-snapshots/"
} else {
url "http://nexus.dev.aws.resonatedigital.net/repository/maven-releases/"
}
}
}
}