You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2016/11/19 22:50:08 UTC

[07/35] zest-java git commit: build: use zest extension for shorter dependency notation

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/samples/dci/build.gradle
----------------------------------------------------------------------
diff --git a/samples/dci/build.gradle b/samples/dci/build.gradle
index 3567623..2319fb9 100644
--- a/samples/dci/build.gradle
+++ b/samples/dci/build.gradle
@@ -21,15 +21,15 @@
 
 description = "Sample of how DCI (Data, Context & Interaction) pattern is implemented with Apache Zest\u2122."
 
-jar { manifest { name = "Apache Zest\u2122 Sample - DCI" }}
+jar { manifest { name = "Apache Zest\u2122 Sample - DCI" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(project(":org.apache.zest.core:org.apache.zest.core.runtime"))  /* TODO: Get rid of this dependency */
-  compile(project(":org.apache.zest.libraries:org.apache.zest.library.constraints"))
+  compile zest.core.bootstrap
+  compile zest.core.runtime  /* TODO: Get rid of this dependency */
+  compile zest.library( 'constraints' )
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  testCompile(libraries.easymock)
+  testCompile zest.core.testsupport
+  testCompile libraries.easymock
 
-  testRuntime(libraries.logback)
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/samples/forum/build.gradle
----------------------------------------------------------------------
diff --git a/samples/forum/build.gradle b/samples/forum/build.gradle
index 0bd8992..b4f7520 100644
--- a/samples/forum/build.gradle
+++ b/samples/forum/build.gradle
@@ -20,27 +20,26 @@
 
 description = "Sample of how to build a web forum"
 
-jar { manifest { name = "Apache Zest\u2122 Sample - Forum" }}
+jar { manifest { name = "Apache Zest\u2122 Sample - Forum" } }
 
 dependencies {
-
-  compile project( ":org.apache.zest.core:org.apache.zest.core.bootstrap" )
-  compile project( ":org.apache.zest.libraries:org.apache.zest.library.rest-server" )
-  compile project( ":org.apache.zest.libraries:org.apache.zest.library.fileconfig" )
-  compile project( ":org.apache.zest.extensions:org.apache.zest.extension.valueserialization-orgjson" )
-  compile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-memory" )
-  compile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-file" )
-  compile project( ":org.apache.zest.extensions:org.apache.zest.extension.indexing-rdf" )
+  compile zest.core.bootstrap
+  compile zest.library( 'rest-server' )
+  compile zest.library( 'fileconfig' )
+  compile zest.extension( 'valueserialization-orgjson' )
+  compile zest.extension( 'entitystore-memory' )
+  compile zest.extension( 'entitystore-file' )
+  compile zest.extension( 'indexing-rdf' )
   compile libraries.servlet_api
 
-  testCompile project( ":org.apache.zest.core:org.apache.zest.core.testsupport" )
+  runtime zest.core.runtime
 
-  testRuntime project( ":org.apache.zest.core:org.apache.zest.core.runtime" )
-  testRuntime libraries.logback
+  testCompile zest.core.testsupport
 
+  testRuntime libraries.logback
 }
 
-task(runSample, dependsOn: 'testClasses', type: JavaExec) {
-    main = 'org.apache.zest.sample.forum.web.Main'
-    classpath = sourceSets.test.runtimeClasspath
+task( runSample, dependsOn: 'testClasses', type: JavaExec ) {
+  main = 'org.apache.zest.sample.forum.web.Main'
+  classpath = sourceSets.test.runtimeClasspath
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/samples/rental/build.gradle
----------------------------------------------------------------------
diff --git a/samples/rental/build.gradle b/samples/rental/build.gradle
index 13e32e7..f4f0f9c 100644
--- a/samples/rental/build.gradle
+++ b/samples/rental/build.gradle
@@ -30,15 +30,13 @@ description = "Sample of implementation of a Car Rental application."
 // And then go to:
 //      http://localhost:8080/org.apache.zest.sample.rental/rental/main
 
-jar { manifest { name = "Apache Zest\u2122 Sample - Car Rental" }}
+jar { manifest { name = "Apache Zest\u2122 Sample - Car Rental" } }
 
 dependencies {
-
-  compile project( ":org.apache.zest.core:org.apache.zest.core.bootstrap" )
-  compile project( ":org.apache.zest.extensions:org.apache.zest.extension.valueserialization-orgjson" )
+  compile zest.core.bootstrap
+  compile zest.extension( 'valueserialization-orgjson' )
 
   providedCompile libraries.servlet_api
 
-  runtime project( ":org.apache.zest.core:org.apache.zest.core.runtime" )
-
+  runtime zest.core.runtime
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/samples/sql-support/build.gradle
----------------------------------------------------------------------
diff --git a/samples/sql-support/build.gradle b/samples/sql-support/build.gradle
index 2c50966..48717ab 100644
--- a/samples/sql-support/build.gradle
+++ b/samples/sql-support/build.gradle
@@ -20,23 +20,22 @@
 
 description = "SQL Support Sample."
 
-jar { manifest { name = "Apache Zest\u2122 Sample - SQL Support" }}
+jar { manifest { name = "Apache Zest\u2122 Sample - SQL Support" } }
 
 dependencies {
 
-    compile project( ":org.apache.zest.core:org.apache.zest.core.bootstrap" )
-    compile project( ":org.apache.zest.libraries:org.apache.zest.library.sql-dbcp" )
-    compile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-preferences" )
-    compile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-sql" )
-    compile project( ":org.apache.zest.extensions:org.apache.zest.extension.indexing-sql" )
-
-    runtime project(":org.apache.zest.core:org.apache.zest.core.runtime")
-    runtime libraries.postgres
-    runtime libraries.slf4j_simple
+  compile zest.core.bootstrap
+  compile zest.library( 'sql-dbcp' )
+  compile zest.extension( 'entitystore-preferences' )
+  compile zest.extension( 'entitystore-sql' )
+  compile zest.extension( 'indexing-sql' )
 
+  runtime zest.core.runtime
+  runtime libraries.postgres
+  runtime libraries.slf4j_simple
 }
 
 task( runSample, dependsOn: 'classes', type: JavaExec ) {
-    main = 'org.apache.zest.sample.sqlsupport.Main'
-    classpath = sourceSets.main.runtimeClasspath
+  main = 'org.apache.zest.sample.sqlsupport.Main'
+  classpath = sourceSets.main.runtimeClasspath
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/samples/swing/build.gradle
----------------------------------------------------------------------
diff --git a/samples/swing/build.gradle b/samples/swing/build.gradle
index 3b610e0..9291e4b 100644
--- a/samples/swing/build.gradle
+++ b/samples/swing/build.gradle
@@ -20,8 +20,8 @@
 
 description = "Sample of how to use the Swing bindings."
 
-jar { manifest { name = "Apache Zest\u2122 Sample - Swing Bindings" }}
+jar { manifest { name = "Apache Zest\u2122 Sample - Swing Bindings" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tests/performance/build.gradle
----------------------------------------------------------------------
diff --git a/tests/performance/build.gradle b/tests/performance/build.gradle
index 4164374..f39266c 100644
--- a/tests/performance/build.gradle
+++ b/tests/performance/build.gradle
@@ -20,42 +20,40 @@
 
 description = "Apache Zest\u2122 Performance Test Suite."
 
-jar { manifest { name = "Apache Zest\u2122 Tests - Performance" }}
+jar { manifest { name = "Apache Zest\u2122 Tests - Performance" } }
 
 sourceSets {
-    perf
+  perf
 }
 
 dependencies {
-
-    compile project( ":org.apache.zest.core:org.apache.zest.core.bootstrap" )
-    compile libraries.junit
-    compile libraries.slf4j_api
-
-    perfCompile sourceSets.main.output
-    perfCompile configurations.testCompile
-    perfCompile sourceSets.test.output
-    perfRuntime configurations.testRuntime
-    
-    perfCompile project( ":org.apache.zest.core:org.apache.zest.core.testsupport" )
-    perfCompile project( ":org.apache.zest.libraries:org.apache.zest.library.sql-dbcp" )
-    perfCompile project( ':org.apache.zest.extensions:org.apache.zest.extension.valueserialization-orgjson' )
-    perfCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-memory" )
-    perfCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-jdbm" )
-    perfCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.entitystore-sql" )
-    perfCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.cache-ehcache" )
-    perfCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.indexing-rdf" )
-    perfCompile libraries.derby
-
-    perfRuntime project(":org.apache.zest.core:org.apache.zest.core.runtime")
-    perfRuntime libraries.logback
-
+  compile zest.core.bootstrap
+  compile libraries.junit
+  compile libraries.slf4j_api
+
+  perfCompile sourceSets.main.output
+  perfCompile configurations.testCompile
+  perfCompile sourceSets.test.output
+  perfRuntime configurations.testRuntime
+
+  perfCompile zest.core.testsupport
+  perfCompile zest.library( 'sql-dbcp' )
+  perfCompile zest.extension( 'valueserialization-orgjson' )
+  perfCompile zest.extension( 'entitystore-memory' )
+  perfCompile zest.extension( 'entitystore-jdbm' )
+  perfCompile zest.extension( 'entitystore-sql' )
+  perfCompile zest.extension( 'cache-ehcache' )
+  perfCompile zest.extension( 'indexing-rdf' )
+  perfCompile libraries.derby
+
+  perfRuntime zest.core.runtime
+  perfRuntime libraries.logback
 }
 
 check.dependsOn compilePerfJava
 
 task testPerf( type: Test, dependsOn: jar ) {
-    testClassesDir = sourceSets.perf.output.classesDir
-    classpath = sourceSets.perf.runtimeClasspath
-    systemProperties['jar.path'] = jar.archivePath
+  testClassesDir = sourceSets.perf.output.classesDir
+  classpath = sourceSets.perf.runtimeClasspath
+  systemProperties[ 'jar.path' ] = jar.archivePath
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tests/regression/build.gradle
----------------------------------------------------------------------
diff --git a/tests/regression/build.gradle b/tests/regression/build.gradle
index f9e0f96..5bb2a96 100644
--- a/tests/regression/build.gradle
+++ b/tests/regression/build.gradle
@@ -20,20 +20,17 @@
 
 description = "Apache Zest\u2122 Regression Tests are added by community members who find bugs and typically reported via Jira issues. These tests are not run as part of the normal build, but is accessible from './gradlew regression' to allow builds to still work."
 
-jar { manifest { name = "Apache Zest\u2122 Tests - Regression" }}
+jar { manifest { name = "Apache Zest\u2122 Tests - Regression" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.api"))
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(libraries.slf4j_api)
-  compile(libraries.junit)
-  runtime(libraries.asm)
-  runtime(libraries.asm_commons)
-  runtime(libraries.slf4j_simple)
-  compile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  compile(project(":org.apache.zest.libraries:org.apache.zest.library.logging"))
-  compile(project(":org.apache.zest.extensions:org.apache.zest.extension.indexing-rdf"))
-  compile(project(":org.apache.zest.extensions:org.apache.zest.extension.entitystore-jdbm"))
-  runtime(project(":org.apache.zest.core:org.apache.zest.core.spi"))
-  runtime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
+  compile zest.core.testsupport
+  compile zest.library( 'logging' )
+  compile zest.extension( 'entitystore-jdbm' )
+  compile libraries.slf4j_api
+  compile libraries.junit
+
+  runtime zest.core.runtime
+  runtime libraries.asm
+  runtime libraries.asm_commons
+  runtime libraries.slf4j_simple
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tools/envisage/build.gradle
----------------------------------------------------------------------
diff --git a/tools/envisage/build.gradle b/tools/envisage/build.gradle
index 9811619..7d1780b 100644
--- a/tools/envisage/build.gradle
+++ b/tools/envisage/build.gradle
@@ -20,30 +20,29 @@
 
 description = "Visualizer of a Apache Zest\u2122 Application Structure."
 
-jar { manifest { name = "Apache Zest\u2122 Envisage" }}
+jar { manifest { name = "Apache Zest\u2122 Envisage" } }
 
 dependencies {
-
-  compile project( ":org.apache.zest.core:org.apache.zest.core.bootstrap" )
-  compile project( ":org.apache.zest.tools:org.apache.zest.tool.model-detail" )
+  compile zest.core.bootstrap
+  compile zest.tool( 'model-detail' )
   compile libraries.jgoodies_looks
   compile libraries.pdfbox
   compile libraries.prefuse
 
-  testCompile project( ":org.apache.zest.core:org.apache.zest.core.testsupport" )
-  testCompile project( ":org.apache.zest.extensions:org.apache.zest.extension.indexing-rdf" )
+  runtime zest.core.runtime
 
-  testRuntime project( ":org.apache.zest.core:org.apache.zest.core.runtime" )
-  testRuntime libraries.logback
+  testCompile zest.core.testsupport
+  testCompile zest.extension( 'indexing-rdf' )
 
+  testRuntime libraries.logback
 }
 
-task(runSample, dependsOn: 'testClasses', type: JavaExec) {
-    main = 'org.apache.zest.envisage.sample.EnvisageSample'
-    classpath = sourceSets.test.runtimeClasspath
+task( runSample, dependsOn: 'testClasses', type: JavaExec ) {
+  main = 'org.apache.zest.envisage.sample.EnvisageSample'
+  classpath = sourceSets.test.runtimeClasspath
 }
 
-task(runSchool, dependsOn: 'testClasses', type: JavaExec) {
-    main = 'org.apache.zest.envisage.school.EnvisageSchoolSample'
-    classpath = sourceSets.test.runtimeClasspath
+task( runSchool, dependsOn: 'testClasses', type: JavaExec ) {
+  main = 'org.apache.zest.envisage.school.EnvisageSchoolSample'
+  classpath = sourceSets.test.runtimeClasspath
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tools/model-detail/build.gradle
----------------------------------------------------------------------
diff --git a/tools/model-detail/build.gradle b/tools/model-detail/build.gradle
index a18b027..ec87f29 100644
--- a/tools/model-detail/build.gradle
+++ b/tools/model-detail/build.gradle
@@ -23,12 +23,13 @@ description = "Detailled Model of a Apache Zest\u2122 Application Structure."
 jar { manifest { name = "Apache Zest\u2122 Model Detail" }}
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  testCompile(project(":org.apache.zest.extensions:org.apache.zest.extension.indexing-rdf"))
+  runtime zest.core.runtime
 
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  testCompile zest.core.testsupport
+  testCompile zest.extension( 'indexing-rdf' )
+
+  testRuntime libraries.logback
 }
 

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tools/qidea/build.gradle
----------------------------------------------------------------------
diff --git a/tools/qidea/build.gradle b/tools/qidea/build.gradle
index 4a1cd04..4a6265c 100644
--- a/tools/qidea/build.gradle
+++ b/tools/qidea/build.gradle
@@ -23,10 +23,11 @@ description = "IntelliJ IDEA Plugin for Apache Zest\u2122 development."
 jar { manifest { name = "Apache Zest\u2122 IDEA plugin" }}
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
+  runtime zest.core.runtime
 
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/cargo/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/cargo/build.gradle b/tutorials/cargo/build.gradle
index 9cb3ecd..39c9dc1 100644
--- a/tutorials/cargo/build.gradle
+++ b/tutorials/cargo/build.gradle
@@ -20,13 +20,15 @@
 
 description = "Tutorial on how to convert existing application into a Apache Zest\u2122 one, step-by-step."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - Cargo" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - Cargo" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(project(":org.apache.zest.core:org.apache.zest.core.runtime"))  // TODO: Get rid of this dependency
+  compile zest.core.bootstrap
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  testCompile(libraries.easymock)
-  testRuntime(libraries.logback)
+  runtime zest.core.runtime
+
+  testCompile zest.core.testsupport
+  testCompile libraries.easymock
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/composites/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/composites/build.gradle b/tutorials/composites/build.gradle
index 55c22c7..1ee10a8 100644
--- a/tutorials/composites/build.gradle
+++ b/tutorials/composites/build.gradle
@@ -20,13 +20,15 @@
 
 description = "Basic tutorial on how to covert a simple 'Hello World' application to Apache Zest\u2122, using more and more features for each step."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - Composites" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - Composites" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(project(":org.apache.zest.libraries:org.apache.zest.library.constraints"))
+  compile zest.core.bootstrap
+  compile zest.library( 'constraints' )
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  runtime zest.core.runtime
+
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/hello/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/hello/build.gradle b/tutorials/hello/build.gradle
index d65b011..9767145 100644
--- a/tutorials/hello/build.gradle
+++ b/tutorials/hello/build.gradle
@@ -20,14 +20,15 @@
 
 description = "Basic tutorial on how to covert a simple 'Hello World' application to Apache Zest\u2122, using more and more features for each step."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - Composites" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - Composites" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(project(":org.apache.zest.libraries:org.apache.zest.library.constraints"))
+  compile zest.core.bootstrap
+  compile zest.library( 'constraints' )
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
+  runtime zest.core.runtime
 
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/introduction/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/build.gradle b/tutorials/introduction/build.gradle
index 453c264..4c8d482 100644
--- a/tutorials/introduction/build.gradle
+++ b/tutorials/introduction/build.gradle
@@ -20,13 +20,14 @@
 
 description = "An Introduction to Apache Zest\u2122 in its simplest form."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - Introduction" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - Introduction" } }
 
 dependencies {
-    compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-    testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
+  runtime zest.core.runtime
 
-    testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-    testRuntime(libraries.logback)
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/introduction/tenminutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/tenminutes/build.gradle b/tutorials/introduction/tenminutes/build.gradle
index 0e0b10b..ed16375 100644
--- a/tutorials/introduction/tenminutes/build.gradle
+++ b/tutorials/introduction/tenminutes/build.gradle
@@ -20,13 +20,14 @@
 
 description = "A 10-minute Introduction Tutorial to Apache Zest\u2122 in its simplest form."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - 10 minute Introduction" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - 10 minute Introduction" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  runtime zest.core.runtime
+
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/introduction/thirtyminutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/thirtyminutes/build.gradle b/tutorials/introduction/thirtyminutes/build.gradle
index 985292f..b186ffc 100644
--- a/tutorials/introduction/thirtyminutes/build.gradle
+++ b/tutorials/introduction/thirtyminutes/build.gradle
@@ -20,14 +20,15 @@
 
 description = "A 30-minute Introduction Tutorial to Apache Zest\u2122 in its simplest form."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - 30 minute Introduction" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - 30 minute Introduction" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
-  compile(project(":org.apache.zest.tutorials:org.apache.zest.tutorial.introduction:org.apache.zest.tutorial.introduction.tenminutes"))
+  compile zest.core.bootstrap
+  compile project( ':org.apache.zest.tutorials:org.apache.zest.tutorial.introduction:org.apache.zest.tutorial.introduction.tenminutes' )
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
-  
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  runtime zest.core.runtime
+
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/introduction/twominutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/twominutes/build.gradle b/tutorials/introduction/twominutes/build.gradle
index 73d8b7a..b63444a 100644
--- a/tutorials/introduction/twominutes/build.gradle
+++ b/tutorials/introduction/twominutes/build.gradle
@@ -20,14 +20,14 @@
 
 description = "A 2-minute Introduction Tutorial to Apache Zest\u2122 in its simplest form."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - 2 minute Introduction" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - 2 minute Introduction" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-  runtime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
+  runtime zest.core.runtime
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
+  testCompile zest.core.testsupport
 
-  testRuntime(libraries.logback)
+  testRuntime libraries.logback
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/zest-java/blob/abf92808/tutorials/services/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/services/build.gradle b/tutorials/services/build.gradle
index 5e64f60..f5d8920 100644
--- a/tutorials/services/build.gradle
+++ b/tutorials/services/build.gradle
@@ -20,13 +20,14 @@
 
 description = "Tutorial on how to use Apache Zest\u2122 service concept."
 
-jar { manifest { name = "Apache Zest\u2122 Tutorial - Services" }}
+jar { manifest { name = "Apache Zest\u2122 Tutorial - Services" } }
 
 dependencies {
-  compile(project(":org.apache.zest.core:org.apache.zest.core.bootstrap"))
+  compile zest.core.bootstrap
 
-  testCompile(project(":org.apache.zest.core:org.apache.zest.core.testsupport"))
+  runtime zest.core.runtime
 
-  testRuntime(project(":org.apache.zest.core:org.apache.zest.core.runtime"))
-  testRuntime(libraries.logback)
+  testCompile zest.core.testsupport
+
+  testRuntime libraries.logback
 }
\ No newline at end of file