polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/4] polygene-java git commit: build: api/impl separation, compile avoidance and incremental compile
Date Sat, 25 Feb 2017 11:30:10 GMT
http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tools/model-detail/build.gradle
----------------------------------------------------------------------
diff --git a/tools/model-detail/build.gradle b/tools/model-detail/build.gradle
index a97d179..c6cd684 100644
--- a/tools/model-detail/build.gradle
+++ b/tools/model-detail/build.gradle
@@ -25,13 +25,12 @@ description = "Detailled Model of a Apache Polygene™ Application Structure."
 jar { manifest { name = "Apache Polygene™ Model Detail" }}
 
 dependencies {
-  compile polygene.core.bootstrap
+  api polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
-  testCompile polygene.extension( 'indexing-rdf' )
+  testImplementation polygene.core.testsupport
+  testImplementation polygene.extension( 'indexing-rdf' )
 
-  testRuntime libraries.logback
+  testRuntimeOnly libraries.logback
 }
-

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tools/qidea/build.gradle
----------------------------------------------------------------------
diff --git a/tools/qidea/build.gradle b/tools/qidea/build.gradle
index 1be3352..bcd84ab 100644
--- a/tools/qidea/build.gradle
+++ b/tools/qidea/build.gradle
@@ -25,11 +25,11 @@ description = "IntelliJ IDEA Plugin for Apache Polygene™ development."
 jar { manifest { name = "Apache Polygene™ IDEA plugin" }}
 
 dependencies {
-  compile polygene.core.bootstrap
+  api polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/cargo/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/cargo/build.gradle b/tutorials/cargo/build.gradle
index 1cbc50a..6ccb67c 100644
--- a/tutorials/cargo/build.gradle
+++ b/tutorials/cargo/build.gradle
@@ -25,12 +25,12 @@ description = "Tutorial on how to convert existing application into a
Apache Pol
 jar { manifest { name = "Apache Polygene™ Tutorial - Cargo" } }
 
 dependencies {
-  compile polygene.core.bootstrap
+  implementation polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
-  testCompile libraries.easymock
+  testImplementation polygene.core.testsupport
+  testImplementation libraries.easymock
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/composites/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/composites/build.gradle b/tutorials/composites/build.gradle
index ca1f6ee..579836f 100644
--- a/tutorials/composites/build.gradle
+++ b/tutorials/composites/build.gradle
@@ -25,12 +25,12 @@ description = "Basic tutorial on how to covert a simple 'Hello World'
applicatio
 jar { manifest { name = "Apache Polygene™ Tutorial - Composites" } }
 
 dependencies {
-  compile polygene.core.bootstrap
-  compile polygene.library( 'constraints' )
+  implementation polygene.core.bootstrap
+  implementation polygene.library( 'constraints' )
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
+  testRuntimeOnly libraries.logback
 }

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/hello/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/hello/build.gradle b/tutorials/hello/build.gradle
index 86e2fcc..579836f 100644
--- a/tutorials/hello/build.gradle
+++ b/tutorials/hello/build.gradle
@@ -25,12 +25,12 @@ description = "Basic tutorial on how to covert a simple 'Hello World'
applicatio
 jar { manifest { name = "Apache Polygene™ Tutorial - Composites" } }
 
 dependencies {
-  compile polygene.core.bootstrap
-  compile polygene.library( 'constraints' )
+  implementation polygene.core.bootstrap
+  implementation polygene.library( 'constraints' )
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/introduction/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/build.gradle b/tutorials/introduction/build.gradle
index 665d16f..48a3248 100644
--- a/tutorials/introduction/build.gradle
+++ b/tutorials/introduction/build.gradle
@@ -25,11 +25,11 @@ description = "An Introduction to Apache Polygene™ in its simplest form."
 jar { manifest { name = "Apache Polygene™ Tutorial - Introduction" } }
 
 dependencies {
-  compile polygene.core.bootstrap
+  implementation polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/introduction/tenminutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/tenminutes/build.gradle b/tutorials/introduction/tenminutes/build.gradle
index 60092ea..68b850e 100644
--- a/tutorials/introduction/tenminutes/build.gradle
+++ b/tutorials/introduction/tenminutes/build.gradle
@@ -25,11 +25,11 @@ description = "A 10-minute Introduction Tutorial to Apache Polygene™
in its si
 jar { manifest { name = "Apache Polygene™ Tutorial - 10 minute Introduction" } }
 
 dependencies {
-  compile polygene.core.bootstrap
+  implementation polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/introduction/thirtyminutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/thirtyminutes/build.gradle b/tutorials/introduction/thirtyminutes/build.gradle
index ed2acc7..6e2a751 100644
--- a/tutorials/introduction/thirtyminutes/build.gradle
+++ b/tutorials/introduction/thirtyminutes/build.gradle
@@ -25,12 +25,12 @@ description = "A 30-minute Introduction Tutorial to Apache Polygene™
in its si
 jar { manifest { name = "Apache Polygene™ Tutorial - 30 minute Introduction" } }
 
 dependencies {
-  compile polygene.core.bootstrap
-  compile project( ':tutorials:introduction:tenminutes' )
+  implementation polygene.core.bootstrap
+  implementation project( ':tutorials:introduction:tenminutes' )
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/introduction/twominutes/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/introduction/twominutes/build.gradle b/tutorials/introduction/twominutes/build.gradle
index 1158065..ce71ed3 100644
--- a/tutorials/introduction/twominutes/build.gradle
+++ b/tutorials/introduction/twominutes/build.gradle
@@ -25,11 +25,11 @@ description = "A 2-minute Introduction Tutorial to Apache Polygene™
in its sim
 jar { manifest { name = "Apache Polygene™ Tutorial - 2 minute Introduction" } }
 
 dependencies {
-  compile polygene.core.bootstrap
+  implementation polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c8eb9bdf/tutorials/services/build.gradle
----------------------------------------------------------------------
diff --git a/tutorials/services/build.gradle b/tutorials/services/build.gradle
index c863a54..6f7a084 100644
--- a/tutorials/services/build.gradle
+++ b/tutorials/services/build.gradle
@@ -25,11 +25,11 @@ description = "Tutorial on how to use Apache Polygene™ service concept."
 jar { manifest { name = "Apache Polygene™ Tutorial - Services" } }
 
 dependencies {
-  compile polygene.core.bootstrap
+  implementation polygene.core.bootstrap
 
-  runtime polygene.core.runtime
+  runtimeOnly polygene.core.runtime
 
-  testCompile polygene.core.testsupport
+  testImplementation polygene.core.testsupport
 
-  testRuntime libraries.logback
-}
\ No newline at end of file
+  testRuntimeOnly libraries.logback
+}


Mime
View raw message