Skip to content

Commit

Permalink
remove neo4j
Browse files Browse the repository at this point in the history
  • Loading branch information
augustearth committed Jul 4, 2024
2 parents 53faf77 + e3b5eef commit ebf9df4
Show file tree
Hide file tree
Showing 46 changed files with 930 additions and 1,062 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

- [Documentation](https://carnival-data.github.io/carnival/)
- [API Documentation](https://carnival-data.github.io/carnival/groovydoc/index.html)
- [Example Demonstration Project](https://github.com/carnival-data/carnival-micronaut)
- [Example Demonstration Project](https://github.com/carnival-data/carnival-demo-biomedical)


## <a name="overview"></a> Overview
Expand Down
48 changes: 35 additions & 13 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildscript {
//mavenLocal()
}
dependencies {
classpath group: 'org.yaml', name: 'snakeyaml', version: '1.31'
classpath group: 'org.yaml', name: 'snakeyaml', version: '2.2'
classpath group: 'org.kordamp.gradle', name: 'stats-gradle-plugin', version: '0.2.2'
}
}
Expand Down Expand Up @@ -84,17 +84,17 @@ subprojects {
// see gradle.properties for versions

// Groovy
implementation "org.codehaus.groovy:groovy-all:${groovyVersion}"
implementation "org.apache.groovy:groovy-all:${groovyVersion}"

// Tinkerpop
implementation "org.apache.tinkerpop:gremlin-core:${gremlinVersion}"
implementation "org.apache.tinkerpop:gremlin-groovy:${gremlinVersion}"
implementation "org.apache.tinkerpop:tinkergraph-gremlin:${gremlinVersion}"

// Neo4J
implementation "org.apache.tinkerpop:neo4j-gremlin:${gremlinVersion}"
implementation "org.neo4j:neo4j-tinkerpop-api-impl:${neo4jTinkerpopVersion}"
implementation "org.neo4j.driver:neo4j-java-driver:${neo4JavaDriverVersion}"
//implementation "org.apache.tinkerpop:neo4j-gremlin:${gremlinVersion}"
//implementation "org.neo4j:neo4j-tinkerpop-api-impl:${neo4jTinkerpopVersion}"
//implementation "org.neo4j.driver:neo4j-java-driver:${neo4JavaDriverVersion}"
//implementation "org.neo4j:parent:${neo4JavaDriverVersion}"
//implementation "org.neo4j:neo4j-community:${neo4JavaDriverVersion}"
//implementation "org.neo4j:neo4j-bolt:${neo4JavaDriverVersion}"
Expand All @@ -107,18 +107,19 @@ subprojects {
// Testing
// there are test helpers implemented in the source tree, so the
// implementation dependency tag is required
testImplementation 'org.spockframework:spock-core:2.2-M3-groovy-3.0'
testImplementation 'org.spockframework:spock-core:2.4-M4-groovy-4.0'
//testImplementation 'org.spockframework:spock-core:2.2-M3-groovy-3.0'

// Logging
implementation 'org.slf4j:slf4j-api:2.0.0'
implementation 'ch.qos.logback:logback-classic:1.4.6'
implementation 'org.slf4j:slf4j-api:2.0.13'
implementation 'ch.qos.logback:logback-classic:1.5.6'

// Data formats
implementation "org.yaml:snakeyaml:1.31"
implementation "com.opencsv:opencsv:5.6"
implementation "org.yaml:snakeyaml:2.2"
implementation "com.opencsv:opencsv:5.9"

// Apache Commons
implementation "commons-io:commons-io:2.11.0"
implementation "commons-io:commons-io:2.16.1"
}
}

Expand Down Expand Up @@ -152,18 +153,36 @@ subprojects {

tasks.withType(Sign) { onlyIf { isReleaseVersion } }


/*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
}*/


task sourcesJar(type: Jar) {
from sourceSets.main.allJava
from sourceSets.main.allGroovy
classifier = 'sources'
archiveClassifier = 'sources'
}

task javadocJar(type: Jar) {
from javadoc
from groovydoc
classifier = 'javadoc'
archiveClassifier = 'javadoc'
}


publishing {
repositories {
maven {
Expand Down Expand Up @@ -300,6 +319,8 @@ def browse(path) {
// JaCoCo code coverage
///////////////////////////////////////////////////////////////////////////////

/*
// Only report code coverage for projects that are distributed
def publishedProjects = subprojects.findAll()
Expand Down Expand Up @@ -338,6 +359,7 @@ tasks.coveralls {
dependsOn jacocoRootReport
}
*/


/////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import groovy.util.logging.Slf4j

import org.reflections.Reflections

import org.apache.commons.configuration.Configuration
import org.apache.commons.configuration.BaseConfiguration
import org.apache.commons.configuration.PropertiesConfiguration

import org.apache.tinkerpop.gremlin.process.traversal.Traversal
import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource
import org.apache.tinkerpop.gremlin.process.traversal.P
Expand Down
Loading

0 comments on commit ebf9df4

Please sign in to comment.