forked from segfly-oss/graml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (48 loc) · 1.74 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
plugins {
id "com.github.ben-manes.versions" version "0.7"
id "com.jfrog.bintray" version "1.0"
id "net.researchgate.release" version "2.0.0"
id "com.github.kt3k.coveralls" version "2.2.0"
}
apply plugin: "project-report"
apply plugin: "java"
apply plugin: "groovy"
apply plugin: "jacoco"
apply from: "gradle/config.gradle"
apply from: "gradle/quality.gradle"
apply from: "gradle/git.gradle"
apply from: "gradle/maven.gradle"
apply from: "gradle/bintray.gradle"
apply from: "gradle/release.gradle"
repositories { jcenter() }
dependencies {
compile "com.tinkerpop.blueprints:blueprints-core:2.4.0" // Downgrading to blueprints-orient-graph version
compile "org.yaml:snakeyaml:1.14"
testCompile "org.codehaus.groovy:groovy-all:2.4.0-rc-1"
testCompile "org.spockframework:spock-core:0.7-groovy-2.0"
testCompile "com.tinkerpop.blueprints:blueprints-orient-graph:2.4.0"
testRuntime "cglib:cglib-nodep:3.1"
}
task wrapper(type: Wrapper) { gradleVersion = '2.2.1' }
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
// Release configuration
createReleaseTag.dependsOn bintrayUpload
/* Useful tasks available from plugins:
project-report: htmlDependencyReport (build\reports\project\dependencies\index.html)
versions: dependencyUpdates (build\reports\project\dependencies\index.html)
maven-publish: generatePomFileForMavenJavaPublication (build\publications\mavenJava\pom-default.xml)
maven-publish: publishToMavenLocal (SNAPSHOT)
bintray: bintrayUpload
gradle-release: release
*/