Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

introduce gradle-build system

  • Loading branch information...
commit a1fe937c36f5cab13c1a03c53b63eba0eeb2d7ca 1 parent b83cacf
@tbaum tbaum authored
View
7 .gitignore
@@ -1,7 +1,8 @@
*~
\#*
-*/target/
-/target/
+.gradle
+target
+build
*.swp
.project
.classpath
@@ -9,5 +10,5 @@
*.iws
*.ipr
*.iml
-.idea/
+.idea
.DS_Store
View
48 build.gradle
@@ -0,0 +1,48 @@
+osgiVersion = "1.0"
+jtaSpecVersion = "1.1.1"
+httpComponentsVersion = "4.0.1"
+commonsIoVersion = "1.4"
+luceneBundleVersion = "3.0.1_2"
+nettyVersion = "3.2.1.Final"
+zookeeperVersion = "3.3.2"
+junitVersion = "4.8.2"
+
+sourceCompatibility = 1.6
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'eclipse'
+
+subprojects {
+ group = 'org.neo4j'
+ version = '1.3-SNAPSHOT'
+
+ sourceCompatibility = 1.6
+
+ apply plugin: 'java'
+ apply plugin: 'idea'
+ apply plugin: 'eclipse'
+
+ repositories {
+ mavenCentral()
+ mavenRepo urls: "http://repository.jboss.org/nexus/content/groups/public/"
+ }
+
+ dependencies {
+ testCompile "junit:junit:$junitVersion"
+ }
+
+ [compileJava, compileTestJava, javadoc]*.options.collect { options ->
+ options.encoding = 'UTF-8'
+ }
+
+ compileJava.options.compilerArgs = ['-Xlint:unchecked']
+}
+
+
+
+ideaProject {
+ withXml { provider ->
+ provider.node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
+ }
+}
View
3  com/build.gradle
@@ -0,0 +1,3 @@
+dependencies {
+ compile project(":kernel"), "org.jboss.netty:netty:$nettyVersion"
+}
View
3  graph-algo/build.gradle
@@ -0,0 +1,3 @@
+dependencies {
+ compile project(":kernel")
+}
View
11 ha/build.gradle
@@ -0,0 +1,11 @@
+dependencies {
+ compile project(":kernel"),
+ project(":com"),
+ project(":lucene-index"),
+ project(":management")
+
+ compile("org.apache.zookeeper:zookeeper:$zookeeperVersion") {
+ exclude module: "jline"
+ exclude module: "log4j"
+ }
+}
View
3  integration-test/build.gradle
@@ -0,0 +1,3 @@
+dependencies {
+ compile project(":kernel")
+}
View
7 kernel/build.gradle
@@ -0,0 +1,7 @@
+dependencies {
+ compile "org.apache.geronimo.specs:geronimo-jta_1.1_spec:$jtaSpecVersion"
+
+ //TODO mark osgi optional
+ compile "org.osgi:osgi_R4_core:$osgiVersion",
+ "org.osgi:osgi_R4_compendium:$osgiVersion"
+}
View
4 lucene-index/build.gradle
@@ -0,0 +1,4 @@
+dependencies {
+ compile project(":kernel"),
+ "org.apache.servicemix.bundles:org.apache.servicemix.bundles.lucene:$luceneBundleVersion"
+}
View
3  management/build.gradle
@@ -0,0 +1,3 @@
+dependencies {
+ compile project(":kernel")
+}
View
9 neo4j/build.gradle
@@ -0,0 +1,9 @@
+dependencies {
+ compile project(":kernel"),
+ project(":com"),
+ project(":lucene-index"),
+ project(":graph-algo"),
+ project(":ha"),
+ project(":management"),
+ project(":udc")
+}
View
1  settings.gradle
@@ -0,0 +1 @@
+include "kernel", "graph-algo", "lucene-index", "udc", "ha", "management", "integration-test", "com", "neo4j"
View
6 udc/build.gradle
@@ -0,0 +1,6 @@
+dependencies {
+ compile project(":kernel"),
+ "org.apache.httpcomponents:httpcore:$httpComponentsVersion",
+ "org.apache.httpcomponents:httpclient:$httpComponentsVersion",
+ "commons-io:commons-io:$commonsIoVersion"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.