-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
82 lines (66 loc) · 2.09 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
/**
* LDAP GRAPH ANALYZER
*
* A Utility that reads LDAP User Accounts and Group hierarchies directly from a given LDAP Directory
* and creates corresponding nodes and relationships in a Neo4J Graph Database.
*
* 3Edges - March 2015
* Created by ababeanu on 2015-03-09.
*
*/
version = "1.0"
// Apply the groovy plugin to add support for Groovy
apply plugin: "groovy"
apply plugin: "java"
// Build LdapGraphLoader.jar
jar {
manifest {
attributes "Implementation-Title": "Ldap Graph Loader",
"Implementation-Version": version
}
}
// Dependencies versions
def groovyVersion = "4.0.14"
def neo4jVersion = "5.7.0"
def unboundIDVersion = "6.0.10" //"2.3.8"
def commonsCliVersion = "1.1"
def ivyVersion = "2.5.2"
def httpBuilderVersion = "0.7.1"
def neo4jDriverVersion = "5.14.0"
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
// In order to use Grapes with Gradle
configurations {
ivy
}
dependencies {
// ivy "org.apache.ivy:ivy:2.3.0"
implementation "org.apache.ivy:ivy:${ivyVersion}"
// implementation
// Groovy libs
implementation "org.apache.groovy:groovy:${groovyVersion}"
implementation "org.apache.groovy:groovy-json:${groovyVersion}"
implementation 'info.picocli:picocli:4.7.5'
// UnboundID LDAP SDK
implementation "com.unboundid:unboundid-ldapsdk:${unboundIDVersion}"
// Neo4J Java SDK
implementation "org.neo4j:neo4j:${neo4jVersion}"
// Command Line Builder
implementation "commons-cli:commons-cli:${commonsCliVersion}"
// REST HTTP Client
implementation "org.codehaus.groovy.modules.http-builder:http-builder:${httpBuilderVersion}"
// Neo4J Driver
implementation "org.neo4j.driver:neo4j-java-driver:${neo4jDriverVersion}"
// TEST
testImplementation group: "junit", name: "junit", version: "4.13.2"
testImplementation "org.spockframework:spock-core:2.4-M1-groovy-4.0"
}
tasks.compileGroovy {
groovyClasspath += configurations.ivy
}
task getDeps(type: Copy) {
from sourceSets.main.runtimeClasspath
into "runtime/"
}