Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit f56e81b

Browse files
klarenpontusmelke
authored andcommitted
Remove some transitive dependencies
The evaluator pulls in all of the kernel dependencies, this is an attempt to reduce the set. The proper solution should be to not depend on the kernel, but that is larger refactoring.
1 parent e19ee1c commit f56e81b

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ext {
6969

7070
argparse4jVersion = '0.7.0'
7171
junitVersion = '4.12'
72-
evaluatorVersion = '3.5.4'
72+
evaluatorVersion = '4.0.0'
7373
neo4jJavaDriverVersion = '4.0.0'
7474
findbugsVersion = '3.0.0'
7575
jansiVersion = '1.13'

cypher-shell/build.gradle

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,23 @@ distributions {
3737

3838
dependencies {
3939
compile "net.sourceforge.argparse4j:argparse4j:$argparse4jVersion"
40-
compile "org.neo4j:neo4j-cypher-expression-evaluator:$evaluatorVersion"
40+
compile("org.neo4j:neo4j-cypher-expression-evaluator:$evaluatorVersion") {
41+
exclude(group: 'org.neo4j', module: 'neo4j-index')
42+
exclude(group: 'org.neo4j', module: 'neo4j-fulltext-index')
43+
exclude(group: 'org.neo4j', module: 'neo4j-ssl')
44+
exclude(group: 'org.neo4j', module: 'neo4j-graph-algo')
45+
exclude(group: 'org.neo4j', module: 'neo4j-id-generator')
46+
exclude(group: 'org.neo4j', module: 'neo4j-io')
47+
exclude(group: 'org.neo4j', module: 'neo4j-label-index')
48+
exclude(group: 'org.neo4j', module: 'neo4j-storage-engine-api')
49+
exclude(group: 'org.neo4j', module: 'neo4j-spatial-index')
50+
exclude(group: 'org.neo4j', module: 'neo4j-wal')
51+
exclude(group: 'org.neo4j', module: 'neo4j-native')
52+
exclude(group: 'org.neo4j', module: 'neo4j-logging')
53+
exclude(group: 'org.neo4j', module: 'neo4j-procedure-api')
54+
exclude(group: 'org.eclipse.collections')
55+
exclude(group: 'org.jctools')
56+
}
4157
compile "org.neo4j.driver:neo4j-java-driver:$neo4jJavaDriverVersion"
4258
compileOnly "com.google.code.findbugs:annotations:$findbugsVersion"
4359
compile "org.fusesource.jansi:jansi:$jansiVersion"

0 commit comments

Comments
 (0)