-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
build.gradle
34 lines (27 loc) · 849 Bytes
/
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
description = "TestContainers :: Neo4j"
def generatedResourcesDir = new File(project.buildDir, "generated-resources")
def customNeo4jPluginDestinationDir = new File(generatedResourcesDir, "custom-plugins")
sourceSets {
customNeo4jPlugin {
java {
srcDir 'src/custom-neo4j-plugin'
}
}
test {
resources {
srcDir generatedResourcesDir
}
}
}
task customNeo4jPluginJar(type: Jar) {
from sourceSets.customNeo4jPlugin.output
archiveName = "hello-world.jar"
destinationDir = customNeo4jPluginDestinationDir
}
test.dependsOn customNeo4jPluginJar
dependencies {
customNeo4jPluginCompileOnly "org.neo4j:neo4j:3.5.5"
compile project(":testcontainers")
testCompile "org.neo4j.driver:neo4j-java-driver:1.7.4"
testCompile 'org.assertj:assertj-core:3.12.2'
}