You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by ca...@apache.org on 2016/05/19 09:31:29 UTC
[04/16] incubator-quarks git commit: add jsoncontrol and replace tab
to space
add jsoncontrol and replace tab to space
Project: http://git-wip-us.apache.org/repos/asf/incubator-quarks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quarks/commit/4f98e17d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quarks/tree/4f98e17d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quarks/diff/4f98e17d
Branch: refs/heads/gradle
Commit: 4f98e17dd98d4642b63fb78ff3bc9d935730b783
Parents: 95b22e0
Author: Cazen Lee <Ca...@korea.com>
Authored: Mon May 9 23:39:01 2016 +0900
Committer: cazen <ca...@apache.org>
Committed: Thu May 19 07:34:11 2016 +0000
----------------------------------------------------------------------
analytics/math3/build.gradle | 10 +-
analytics/sensors/build.gradle | 8 +-
api/execution/build.gradle | 2 +-
api/function/build.gradle | 12 +-
api/graph/build.gradle | 4 +-
api/oplet/build.gradle | 6 +-
api/topology/build.gradle | 4 +-
api/window/build.gradle | 2 +-
apps/iot/build.gradle | 8 +-
apps/runtime/build.gradle | 8 +-
build.gradle | 158 +++++++++----------
connectors/common/build.gradle | 10 +-
connectors/file/build.gradle | 10 +-
connectors/http/build.gradle | 10 +-
connectors/iot/build.gradle | 2 +-
connectors/iotf/build.gradle | 14 +-
connectors/javax.websocket-client/build.gradle | 16 +-
connectors/javax.websocket-server/build.gradle | 2 +-
connectors/jdbc/build.gradle | 10 +-
connectors/kafka/build.gradle | 24 +--
connectors/mqtt/build.gradle | 16 +-
connectors/pubsub/build.gradle | 8 +-
connectors/quarks.javax.websocket/build.gradle | 4 +-
connectors/serial/build.gradle | 2 +-
.../wsclient-javax.websocket/build.gradle | 48 +++---
connectors/wsclient/build.gradle | 2 +-
console/server/build.gradle | 18 +--
console/servlets/build.gradle | 40 ++---
gradle.properties | 25 +++
providers/development/build.gradle | 10 +-
providers/direct/build.gradle | 15 +-
runtime/appservice/build.gradle | 4 +-
runtime/etiao/build.gradle | 6 +-
runtime/jmxcontrol/build.gradle | 4 +-
runtime/jobregistry/build.gradle | 4 +-
runtime/jsoncontrol/build.gradle | 4 +-
samples/apps/build.gradle | 12 +-
samples/connectors/build.gradle | 18 +--
samples/console/build.gradle | 8 +-
samples/topology/build.gradle | 8 +-
samples/utils/build.gradle | 14 +-
settings.gradle | 1 +
spi/graph/build.gradle | 6 +-
spi/topology/build.gradle | 4 +-
test/fvtiot/build.gradle | 8 +-
test/svt/build.gradle | 8 +-
utils/metrics/build.gradle | 10 +-
47 files changed, 323 insertions(+), 304 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/analytics/math3/build.gradle
----------------------------------------------------------------------
diff --git a/analytics/math3/build.gradle b/analytics/math3/build.gradle
index 3c00738..3e46941 100644
--- a/analytics/math3/build.gradle
+++ b/analytics/math3/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'analytics.math3' // However ArtifactId can be set per artifact i
description = 'Analytics math functions'
dependencies {
- compile project(':api/topology')
- compile files('./ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
+ compile project(':api/topology')
+ compile files('./ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/analytics/sensors/build.gradle
----------------------------------------------------------------------
diff --git a/analytics/sensors/build.gradle b/analytics/sensors/build.gradle
index 43a8955..a9835e9 100644
--- a/analytics/sensors/build.gradle
+++ b/analytics/sensors/build.gradle
@@ -15,8 +15,8 @@ ext.artifact = 'analytics.sensors' // However ArtifactId can be set per artifact
description = 'Analytics aimed at sensor readings'
dependencies {
- compile project(':api/topology')
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
+ compile project(':api/topology')
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/execution/build.gradle
----------------------------------------------------------------------
diff --git a/api/execution/build.gradle b/api/execution/build.gradle
index 13f3f03..a984d05 100644
--- a/api/execution/build.gradle
+++ b/api/execution/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'api.execution' // However ArtifactId can be set per artifact in
description = 'The API for executing flows'
dependencies {
- compile project(':api/function')
+ compile project(':api/function')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/function/build.gradle
----------------------------------------------------------------------
diff --git a/api/function/build.gradle b/api/function/build.gradle
index 9c41053..c4a598d 100644
--- a/api/function/build.gradle
+++ b/api/function/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'api.function' // However ArtifactId can be set per artifact in p
description = 'The API for buidling functions'
jar {
- manifest {
- name = 'Quarks Function API' // Becomes 'Bundle-Name' in MANIFEST
- attributes 'Implementation-Title': artifact,
- 'Class-Path' : configurations.compile.collect { it.getName() }.join(' ')
- }
-}
+ manifest {
+ name = 'Quarks Function API' // Becomes 'Bundle-Name' in MANIFEST
+ attributes 'Implementation-Title': artifact,
+ 'Class-Path' : configurations.compile.collect { it.getName() }.join(' ')
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/graph/build.gradle
----------------------------------------------------------------------
diff --git a/api/graph/build.gradle b/api/graph/build.gradle
index 3a37705..bdc55f8 100644
--- a/api/graph/build.gradle
+++ b/api/graph/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'api.graph' // However ArtifactId can be set per artifact in publ
description = 'The graph API'
dependencies {
- compile project(':api/oplet')
-}
+ compile project(':api/oplet')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/oplet/build.gradle
----------------------------------------------------------------------
diff --git a/api/oplet/build.gradle b/api/oplet/build.gradle
index eef1aa9..5347e9d 100644
--- a/api/oplet/build.gradle
+++ b/api/oplet/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'api.oplet' // However ArtifactId can be set per artifact in publ
description = 'The oplet API'
dependencies {
- compile project(':api/execution')
- compile project(':api/function')
- compile project(':api/window')
+ compile project(':api/execution')
+ compile project(':api/function')
+ compile project(':api/window')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/topology/build.gradle
----------------------------------------------------------------------
diff --git a/api/topology/build.gradle b/api/topology/build.gradle
index d10205a..5ddaaa8 100644
--- a/api/topology/build.gradle
+++ b/api/topology/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'api.topology' // However ArtifactId can be set per artifact in p
description = 'The topology API'
dependencies {
- compile project(':api/execution')
- compile project(':api/graph')
+ compile project(':api/execution')
+ compile project(':api/graph')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/api/window/build.gradle
----------------------------------------------------------------------
diff --git a/api/window/build.gradle b/api/window/build.gradle
index 01c4717..eb8b991 100644
--- a/api/window/build.gradle
+++ b/api/window/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'api.window' // However ArtifactId can be set per artifact in pub
description = 'The window API'
dependencies {
- compile project(':api/function')
+ compile project(':api/function')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/apps/iot/build.gradle
----------------------------------------------------------------------
diff --git a/apps/iot/build.gradle b/apps/iot/build.gradle
index 206cd8f..dfa0a9d 100644
--- a/apps/iot/build.gradle
+++ b/apps/iot/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'apps.iot' // However ArtifactId can be set per artifact in publi
description = 'Applications utilizing IotDevice'
dependencies {
- compile project(':api/topology')
- compile project(':connectors/iot')
- compile project(':connectors/pubsub')
+ compile project(':api/topology')
+ compile project(':connectors/iot')
+ compile project(':connectors/pubsub')
- testCompile project(':providers/direct')
+ testCompile project(':providers/direct')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/apps/runtime/build.gradle
----------------------------------------------------------------------
diff --git a/apps/runtime/build.gradle b/apps/runtime/build.gradle
index a327928..562d9eb 100644
--- a/apps/runtime/build.gradle
+++ b/apps/runtime/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'apps.runtime' // However ArtifactId can be set per artifact in p
description = 'Applications utilizing IotDevice'
dependencies {
- compile project(':api/topology')
- compile project(':runtime/jobregistry')
+ compile project(':api/topology')
+ compile project(':runtime/jobregistry')
compile project(':runtime/appservice')
- testCompile project(':providers/direct')
- testCompile project(':runtime/jmxcontrol')
+ testCompile project(':providers/direct')
+ testCompile project(':runtime/jmxcontrol')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b6b720b..aa30435 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,92 +11,84 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-repositories {
- mavenLocal()
-}
+import org.gradle.api.JavaVersion
+
+def minJavaVersion = JavaVersion.VERSION_1_8;
+ext.buildDir = "${rootDir}/target/gradle"
-// SET PROJECT INFO for all artifacts
-assert hasProperty('version') // See version in gradle.properties.
-System.out.println("version=${version}")
-group = 'org.apache.quarks'
+println "buildDir = $buildDir"
-def getDate() {
- if (!hasProperty('buildDate') || buildDate == null) {
- ext.buildDate = new java.util.Date().format('yyyyMMddHHmm');
- }
- return ext.buildDate;
+allprojects {
+ apply plugin: 'idea'
+ apply plugin: 'eclipse'
}
-getDate();
+task clean(type: Delete) {
-subprojects {
- apply plugin: 'java'
- apply plugin: 'maven-publish'
- //apply plugin: 'osgi'
-
- group = 'org.apache.quarks'
-
- repositories {
- mavenCentral()
- }
-
- dependencies {
- compile group: 'com.google.code.gson' , name: 'gson' , version: '2.2.4'
- compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.12'
- compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.2'
- testCompile 'junit:junit:4.8.2'
- testCompile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.12'
- }
-
- version = '0.4.0'
-
- jar {
- manifest.attributes provider: 'Apache Foundation'
-
- manifest {
-// attributes 'Implementation-Title': ext.artifact,
- attributes 'Implementation-Version': version,
- 'Implementation-Vendor' : 'quarks-edge@github.com'
-// 'Class-Path' : configurations.compile.collect { it.getName() }.join(' ')
- // instruction 'Bundle-Vendor', 'Apache Foundation'
- // instruction 'Bundle-Description', 'Quarks'
- // instruction 'Bundle-DocURL', 'http://quarks-edge.github.io/'
- }
-
- /*- From common-build.xml
- <attribute name="Implementation-Title" value="${ant.project.name}"/>
- <attribute name="Implementation-Version" value="${commithash}-${DSTAMP}-${TSTAMP}"/>
- <attribute name="Implementation-Vendor" value="quarks-edge@github.com"/>
- <attribute name="Class-Path" value="${jar.classpath}"/>
- */
- }
-
- task sourceJar(type: Jar) {
- // baseName-appendix-version-classifier.extension
- from sourceSets.main.allJava
- classifier = 'sources'
- }
-
- task javadocJar(type: Jar, dependsOn: 'javadoc') {
- from javadoc.destinationDir
- classifier = 'javadoc'
- }
-
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- artifactId = artifact
- //artifact sourceJar
- //artifact javadocJar
- //artifact testJar
- pom.withXml {
- // Example of appending more information to pom.
- //asNode().appendNode('description', 'A demonstration of Maven POM customization')
- }
- }
- }
- }
-
- task listAllDependencies(type: DependencyReportTask) {}
+ println "delete = ${rootProject.ext.buildDir}"
+ delete "${rootProject.ext.buildDir}"
}
+
+subprojects {
+ apply plugin: 'java'
+ apply plugin: 'maven-publish'
+
+ repositories {
+ mavenCentral()
+ }
+
+ tasks.withType(Jar) {
+ println "withTypeJar : ${rootProject.ext.buildDir}/$project.name/lib"
+ destinationDir = file("${rootProject.ext.buildDir}/$project.name/lib")
+ }
+
+ dependencies {
+ compile group: 'com.google.code.gson', name: 'gson', version: '2.2.4'
+ compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.12'
+ compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.2'
+ testCompile 'junit:junit:4.8.2'
+ testCompile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.12'
+ }
+
+ test {
+ filter {
+ //include specific method in any of the tests
+ includeTestsMatching "quarks.test.*"
+ exclude "TestManual*"
+ }
+ }
+
+ jar {
+ archiveName = "${rootProject.name}.${project.name}.jar".replaceAll("/", ".")
+
+ if (project.hasProperty('moduleName') && !projectName.equals(moduleName)) {
+ appendix = moduleName
+ }
+
+ manifest.attributes provider: 'Apache Software Foundation'
+
+ manifest {
+ attributes 'Implementation-Version': version,
+ 'Implementation-Vendor': 'dev@quarks.incubator.apache.org'
+ }
+ }
+
+ task copyToLib(type: Copy) {
+ println "copyToLibJar : ${rootProject.ext.buildDir}/$project.name/ext"
+ into "${rootProject.ext.buildDir}/$project.name/ext"
+ from configurations.compile.filter{!it.name.startsWith('quarks')}
+ }
+
+ task sourceJar(type: Jar) {
+ // baseName-appendix-version-classifier.extension
+ from sourceSets.main.allJava
+ classifier = 'sources'
+ }
+
+ task javadocJar(type: Jar, dependsOn: 'javadoc') {
+ from javadoc.destinationDir
+ classifier = 'javadoc'
+ }
+
+ task listAllDependencies(type: DependencyReportTask) {}
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/common/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/common/build.gradle b/connectors/common/build.gradle
index 7330ef6..6d0838a 100644
--- a/connectors/common/build.gradle
+++ b/connectors/common/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'connectors.common' // However ArtifactId can be set per artifact
description = 'Common Connector Code'
dependencies {
- compile project(':api/topology')
-
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
+ compile project(':api/topology')
+
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/file/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/file/build.gradle b/connectors/file/build.gradle
index 27fcbbc..c7a38e6 100644
--- a/connectors/file/build.gradle
+++ b/connectors/file/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'connectors.file' // However ArtifactId can be set per artifact i
description = 'File Connectors'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':connectors/common').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':connectors/common').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/http/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/http/build.gradle b/connectors/http/build.gradle
index 46b5488..86071b5 100644
--- a/connectors/http/build.gradle
+++ b/connectors/http/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'connectors.http' // However ArtifactId can be set per artifact i
description = 'HTTP Connectors'
dependencies {
- compile project(':api/topology')
- compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
+ compile project(':api/topology')
+ compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2'
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/iot/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/iot/build.gradle b/connectors/iot/build.gradle
index 9b72989..bc321d6 100644
--- a/connectors/iot/build.gradle
+++ b/connectors/iot/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'connectors.iot' // However ArtifactId can be set per artifact in
description = 'IoT Device API'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/iotf/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/iotf/build.gradle b/connectors/iotf/build.gradle
index 5547d1f..695623c 100644
--- a/connectors/iotf/build.gradle
+++ b/connectors/iotf/build.gradle
@@ -15,11 +15,11 @@ ext.artifact = 'connectors.iotf' // However ArtifactId can be set per artifact i
description = 'IOTF Connectors'
dependencies {
- compile project(':api/topology')
- compile project(':connectors/iot')
- // compile group: 'joda-time', name: 'joda-time', version: '2.6'
- // compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.2'
- compile files('./ext/com.ibm.iotf.client-0.0.9.jar')
- compile files('./ext/lib/joda-time-2.6.jar')
- compile files('./ext/lib/org.eclipse.paho.client.mqttv3-1.0.3-20150818.040635-202.jar')
+ compile project(':api/topology')
+ compile project(':connectors/iot')
+ // compile group: 'joda-time', name: 'joda-time', version: '2.6'
+ // compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.0.2'
+ compile files('./ext/com.ibm.iotf.client-0.0.9.jar')
+ compile files('./ext/lib/joda-time-2.6.jar')
+ compile files('./ext/lib/org.eclipse.paho.client.mqttv3-1.0.3-20150818.040635-202.jar')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/javax.websocket-client/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/javax.websocket-client/build.gradle b/connectors/javax.websocket-client/build.gradle
index fa05a3d..2aebec4 100644
--- a/connectors/javax.websocket-client/build.gradle
+++ b/connectors/javax.websocket-client/build.gradle
@@ -15,13 +15,13 @@ ext.artifact = 'connectors.javax.websocket-client' // However ArtifactId can be
description = 'Jetty supplied jsr356 WebSocket Client Implementation package'
dependencies {
- compile project(':connectors/quarks.javax.websocket')
+ compile project(':connectors/quarks.javax.websocket')
- //compile 'org.eclipse.jetty.websocket:websocket-api:9.3.6.v20151106'
- compile files('./ext/javax-websocket-client-impl-9.3.6.v20151106.jar')
- compile files('./ext/javax.websocket-api-1.0.jar')
- compile files('./ext/jetty-util-9.3.6.v20151106.jar')
- compile files('./ext/websocket-api-9.3.6.v20151106.jar')
- compile files('./ext/websocket-client-9.3.6.v20151106.jar')
- compile files('./ext/websocket-common-9.3.6.v20151106.jar')
+ //compile 'org.eclipse.jetty.websocket:websocket-api:9.3.6.v20151106'
+ compile files('./ext/javax-websocket-client-impl-9.3.6.v20151106.jar')
+ compile files('./ext/javax.websocket-api-1.0.jar')
+ compile files('./ext/jetty-util-9.3.6.v20151106.jar')
+ compile files('./ext/websocket-api-9.3.6.v20151106.jar')
+ compile files('./ext/websocket-client-9.3.6.v20151106.jar')
+ compile files('./ext/websocket-common-9.3.6.v20151106.jar')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/javax.websocket-server/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/javax.websocket-server/build.gradle b/connectors/javax.websocket-server/build.gradle
index 9ee8fe4..c1a4a71 100644
--- a/connectors/javax.websocket-server/build.gradle
+++ b/connectors/javax.websocket-server/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'connectors.javax.websocket-server' // However ArtifactId can be
description = 'Jetty supplied JSR 356 WebSocket Server Implementation package'
dependencies {
- compile project(':connectors/javax.websocket-client')
+ compile project(':connectors/javax.websocket-client')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/jdbc/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/jdbc/build.gradle b/connectors/jdbc/build.gradle
index 0677900..cc2c50e 100644
--- a/connectors/jdbc/build.gradle
+++ b/connectors/jdbc/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'connectors.jdbc' // However ArtifactId can be set per artifact i
description = 'JDBC Connectors'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':connectors/common').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':connectors/common').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/kafka/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/kafka/build.gradle b/connectors/kafka/build.gradle
index ac354ce..0906dd4 100644
--- a/connectors/kafka/build.gradle
+++ b/connectors/kafka/build.gradle
@@ -15,17 +15,17 @@ ext.artifact = 'connectors.kafka' // However ArtifactId can be set per artifact
description = 'Kafka Connectors'
dependencies {
- compile project(':api/topology')
- compile files('./ext/kafka-clients-0.8.2.2.jar')
- compile files('./ext/kafka_2.10-0.8.2.2.jar')
- compile files('./ext/log4j-1.2.16.jar')
- compile files('./ext/metrics-core-2.2.0.jar')
- compile files('./ext/scala-library-2.10.4.jar')
- compile files('./ext/zkclient-0.3.jar')
- compile files('./ext/zookeeper-3.4.6.jar')
+ compile project(':api/topology')
+ compile files('./ext/kafka-clients-0.8.2.2.jar')
+ compile files('./ext/kafka_2.10-0.8.2.2.jar')
+ compile files('./ext/log4j-1.2.16.jar')
+ compile files('./ext/metrics-core-2.2.0.jar')
+ compile files('./ext/scala-library-2.10.4.jar')
+ compile files('./ext/zkclient-0.3.jar')
+ compile files('./ext/zookeeper-3.4.6.jar')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':connectors/common').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':connectors/common').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/mqtt/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/mqtt/build.gradle b/connectors/mqtt/build.gradle
index 580d8d4..3583c64 100644
--- a/connectors/mqtt/build.gradle
+++ b/connectors/mqtt/build.gradle
@@ -15,13 +15,13 @@ ext.artifact = 'connectors.mqtt' // However ArtifactId can be set per artifact i
description = 'MQTT Connectors'
dependencies {
- compile project(':api/topology')
- compile project(':connectors/common')
- compile project(':connectors/iot')
- compile files('./ext/org.eclipse.paho.client.mqttv3-1.0.2.jar')
+ compile project(':api/topology')
+ compile project(':connectors/common')
+ compile project(':connectors/iot')
+ compile files('./ext/org.eclipse.paho.client.mqttv3-1.0.2.jar')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':connectors/common').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':connectors/common').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/pubsub/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/pubsub/build.gradle b/connectors/pubsub/build.gradle
index f81c72e..95e0552 100644
--- a/connectors/pubsub/build.gradle
+++ b/connectors/pubsub/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'connectors.pubsub' // However ArtifactId can be set per artifact
description = 'Publish Subscribe connector and service.'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/quarks.javax.websocket/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/quarks.javax.websocket/build.gradle b/connectors/quarks.javax.websocket/build.gradle
index 9b7fb19..e19e4a0 100644
--- a/connectors/quarks.javax.websocket/build.gradle
+++ b/connectors/quarks.javax.websocket/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'connectors.websocket' // However ArtifactId can be set per artif
description = 'Special Quarks javax.websocket bundle'
dependencies {
- //compile 'org.eclipse.jetty.websocket:websocket-api:9.3.6.v20151106'
- compile files('./ext/javax.websocket-api-1.0.jar')
+ //compile 'org.eclipse.jetty.websocket:websocket-api:9.3.6.v20151106'
+ compile files('./ext/javax.websocket-api-1.0.jar')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/serial/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/serial/build.gradle b/connectors/serial/build.gradle
index 9d78c55..654077c 100644
--- a/connectors/serial/build.gradle
+++ b/connectors/serial/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'connectors.serial' // However ArtifactId can be set per artifact
description = 'Serial Connector API'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/wsclient-javax.websocket/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/wsclient-javax.websocket/build.gradle b/connectors/wsclient-javax.websocket/build.gradle
index 7c1014f..8a0385c 100644
--- a/connectors/wsclient-javax.websocket/build.gradle
+++ b/connectors/wsclient-javax.websocket/build.gradle
@@ -15,31 +15,31 @@ ext.artifact = 'connectors.wsclient-javax.websocket' // However ArtifactId can b
description = 'Build JSR356 javax.websocket based WebSocket Client connector'
dependencies {
- compile project(':api/topology')
- compile project(':connectors/common')
- compile project(':connectors/wsclient')
- compile project(':connectors/quarks.javax.websocket')
- compile files('./ext/javax.websocket-api-1.0.jar')
+ compile project(':api/topology')
+ compile project(':connectors/common')
+ compile project(':connectors/wsclient')
+ compile project(':connectors/quarks.javax.websocket')
+ compile files('./ext/javax.websocket-api-1.0.jar')
- testCompile project(':providers/direct')
- testCompile project(':providers/direct').sourceSets.test.output
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':connectors/common').sourceSets.test.output
- testCompile project(':connectors/javax.websocket-client')
- testCompile project(':connectors/javax.websocket-server')
+ testCompile project(':providers/direct')
+ testCompile project(':providers/direct').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':connectors/common').sourceSets.test.output
+ testCompile project(':connectors/javax.websocket-client')
+ testCompile project(':connectors/javax.websocket-server')
- testCompile files('../javax.websocket-server/ext/javax-websocket-server-impl-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/jetty-http-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/jetty-io-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/jetty-security-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/jetty-server-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/jetty-servlet-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/servlet-api-3.1.jar')
- testCompile files('../javax.websocket-server/ext/websocket-server-9.3.6.v20151106.jar')
- testCompile files('../javax.websocket-server/ext/websocket-servlet-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/javax-websocket-server-impl-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/jetty-http-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/jetty-io-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/jetty-security-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/jetty-server-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/jetty-servlet-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/servlet-api-3.1.jar')
+ testCompile files('../javax.websocket-server/ext/websocket-server-9.3.6.v20151106.jar')
+ testCompile files('../javax.websocket-server/ext/websocket-servlet-9.3.6.v20151106.jar')
-// testCompile project(':connectors/javax.websocket-client').configurations.runtime
-// testCompile project(':connectors/javax.websocket-server').configurations.compile
-// testCompile files('../javax.websocket-server/ext/jetty-http-9.3.6.v20151106.jar')
-// testCompile files('../javax.websocket-server/ext/jetty-server-9.3.6.v20151106.jar')
+// testCompile project(':connectors/javax.websocket-client').configurations.runtime
+// testCompile project(':connectors/javax.websocket-server').configurations.compile
+// testCompile files('../javax.websocket-server/ext/jetty-http-9.3.6.v20151106.jar')
+// testCompile files('../javax.websocket-server/ext/jetty-server-9.3.6.v20151106.jar')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/connectors/wsclient/build.gradle
----------------------------------------------------------------------
diff --git a/connectors/wsclient/build.gradle b/connectors/wsclient/build.gradle
index 34e4d34..e9cd0ae 100644
--- a/connectors/wsclient/build.gradle
+++ b/connectors/wsclient/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'connectors.wsclient' // However ArtifactId can be set per artifa
description = 'Build WebSocket Client connector API.'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/console/server/build.gradle
----------------------------------------------------------------------
diff --git a/console/server/build.gradle b/console/server/build.gradle
index 970249e..bff9106 100644
--- a/console/server/build.gradle
+++ b/console/server/build.gradle
@@ -15,13 +15,13 @@ ext.artifact = 'console.server' // However ArtifactId can be set per artifact in
description = 'Console Server'
dependencies {
- compile files('./ext/jetty-9.3.6/jetty-http-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-io-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-security-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-server-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-servlet-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-util-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-webapp-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/jetty-xml-9.3.6.v20151106.jar')
- compile files('./ext/jetty-9.3.6/servlet-api-3.1.jar')
+ compile files('./ext/jetty-9.3.6/jetty-http-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-io-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-security-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-server-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-servlet-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-util-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-webapp-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/jetty-xml-9.3.6.v20151106.jar')
+ compile files('./ext/jetty-9.3.6/servlet-api-3.1.jar')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/console/servlets/build.gradle
----------------------------------------------------------------------
diff --git a/console/servlets/build.gradle b/console/servlets/build.gradle
index b003ef4..e8254ca 100644
--- a/console/servlets/build.gradle
+++ b/console/servlets/build.gradle
@@ -12,12 +12,12 @@
* limitations under the License.
*/
buildscript {
- repositories {
- jcenter()
- }
- dependencies {
- classpath 'org.akhikhl.gretty:gretty:+'
- }
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'org.akhikhl.gretty:gretty:+'
+ }
}
apply plugin: 'war'
@@ -28,24 +28,24 @@ ext.artifact = 'console.servlets' // However ArtifactId can be set per artifact
description = 'Web Console Servlets'
dependencies {
- compile files('../server/ext/jetty-9.3.6/servlet-api-3.1.jar')
+ compile files('../server/ext/jetty-9.3.6/servlet-api-3.1.jar')
}
war {
- archiveName 'console.war'
- from 'webapp_content/html' // adds a file-set to the root of the archive
- into('resources') {
- from 'webapp_content/resources'
- }
- into('js') {
- from 'webapp_content/js'
- }
- webInf { from 'webapp_content/WEB-INF/' } // adds a file-set to the WEB-INF dir.
- webXml = file('webapp_content/WEB-INF/console.xml') // copies a file to WEB-INF/web.xml
+ archiveName 'console.war'
+ from 'webapp_content/html' // adds a file-set to the root of the archive
+ into('resources') {
+ from 'webapp_content/resources'
+ }
+ into('js') {
+ from 'webapp_content/js'
+ }
+ webInf { from 'webapp_content/WEB-INF/' } // adds a file-set to the WEB-INF dir.
+ webXml = file('webapp_content/WEB-INF/console.xml') // copies a file to WEB-INF/web.xml
}
gretty {
- port = 8080
- contextPath = '/'
- servletContainer = 'jetty9'
+ port = 8080
+ contextPath = '/'
+ servletContainer = 'jetty9'
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..47e3387
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,25 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Quarks Properties
+group=org.apache.quarks
+version=0.4.0
+
+# System Properties
+gradleVersion=2.13
+org.gradle.jvmargs="-XX:MaxPermSize=512m"
+systemProp.file.encoding=UTF-8
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/providers/development/build.gradle
----------------------------------------------------------------------
diff --git a/providers/development/build.gradle b/providers/development/build.gradle
index 0a8c4f1..ec6b5ca 100644
--- a/providers/development/build.gradle
+++ b/providers/development/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'providers.development' // However ArtifactId can be set per arti
description = 'The development topology provider'
dependencies {
- compile project(':providers/direct')
- compile project(':console/server')
- compile project(':utils/metrics')
- compile project(':runtime/jmxcontrol')
+ compile project(':providers/direct')
+ compile project(':console/server')
+ compile project(':utils/metrics')
+ compile project(':runtime/jmxcontrol')
- testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/providers/direct/build.gradle
----------------------------------------------------------------------
diff --git a/providers/direct/build.gradle b/providers/direct/build.gradle
index 8a4b472..2ffb8dc 100644
--- a/providers/direct/build.gradle
+++ b/providers/direct/build.gradle
@@ -15,12 +15,13 @@ ext.artifact = 'providers.direct' // However ArtifactId can be set per artifact
description = 'The direct topology provider'
dependencies {
- compile project(':api/topology')
- compile project(':spi/topology')
- compile project(':spi/graph')
- compile project(':runtime/etiao')
+ compile project(':api/topology')
+ compile project(':spi/topology')
+ compile project(':spi/graph')
+ compile project(':runtime/etiao')
+ compile project(':runtime/jsoncontrol')
- testCompile project(':api/topology').sourceSets.test.output
- testCompile project(':utils/metrics')
- testCompile project(':utils/metrics').sourceSets.test.output
+ testCompile project(':api/topology').sourceSets.test.output
+ testCompile project(':utils/metrics')
+ testCompile project(':utils/metrics').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/runtime/appservice/build.gradle
----------------------------------------------------------------------
diff --git a/runtime/appservice/build.gradle b/runtime/appservice/build.gradle
index 154ed2e..34ca730 100644
--- a/runtime/appservice/build.gradle
+++ b/runtime/appservice/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'runtime.appservice' // However ArtifactId can be set per artifac
description = 'The runtime application service library'
dependencies {
- compile project(':api/execution')
- compile project(':api/topology')
+ compile project(':api/execution')
+ compile project(':api/topology')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/runtime/etiao/build.gradle
----------------------------------------------------------------------
diff --git a/runtime/etiao/build.gradle b/runtime/etiao/build.gradle
index 6e30f70..4212c3d 100644
--- a/runtime/etiao/build.gradle
+++ b/runtime/etiao/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'runtime.etiao' // However ArtifactId can be set per artifact in
description = 'The runtime Everything Is An Oplet (ETIAO) library'
dependencies {
- compile project(':api/graph')
- compile project(':spi/graph')
- testCompile project(':api/graph').sourceSets.test.output
+ compile project(':api/graph')
+ compile project(':spi/graph')
+ testCompile project(':api/graph').sourceSets.test.output
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/runtime/jmxcontrol/build.gradle
----------------------------------------------------------------------
diff --git a/runtime/jmxcontrol/build.gradle b/runtime/jmxcontrol/build.gradle
index d20ff34..a8dcaef 100644
--- a/runtime/jmxcontrol/build.gradle
+++ b/runtime/jmxcontrol/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'runtime.jmxcontrol' // However ArtifactId can be set per artifac
description = 'The runtime JMX control library'
dependencies {
- compile project(':api/execution')
- compile project(':api/function')
+ compile project(':api/execution')
+ compile project(':api/function')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/runtime/jobregistry/build.gradle
----------------------------------------------------------------------
diff --git a/runtime/jobregistry/build.gradle b/runtime/jobregistry/build.gradle
index ff82c9a..42d41bc 100644
--- a/runtime/jobregistry/build.gradle
+++ b/runtime/jobregistry/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'runtime.jobregistry' // However ArtifactId can be set per artifa
description = 'The runtime job registry library'
dependencies {
- compile project(':api/execution')
- compile project(':api/topology')
+ compile project(':api/execution')
+ compile project(':api/topology')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/runtime/jsoncontrol/build.gradle
----------------------------------------------------------------------
diff --git a/runtime/jsoncontrol/build.gradle b/runtime/jsoncontrol/build.gradle
index 60e2891..5094c63 100644
--- a/runtime/jsoncontrol/build.gradle
+++ b/runtime/jsoncontrol/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'runtime.jsoncontrol' // However ArtifactId can be set per artifa
description = 'The runtime JSON control library'
dependencies {
- compile project(':api/execution')
- compile project(':api/function')
+ compile project(':api/execution')
+ compile project(':api/function')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/samples/apps/build.gradle
----------------------------------------------------------------------
diff --git a/samples/apps/build.gradle b/samples/apps/build.gradle
index 32c44e0..7fa9013 100644
--- a/samples/apps/build.gradle
+++ b/samples/apps/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'samples.apps' // However ArtifactId can be set per artifact in p
description = 'Sample applications'
dependencies {
- compile project(':connectors/mqtt')
- compile project(':connectors/file')
- compile project(':analytics/math3')
- compile files('../../analytics/math3/ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
- compile project(':samples/topology')
- compile project(':samples/utils')
+ compile project(':connectors/mqtt')
+ compile project(':connectors/file')
+ compile project(':analytics/math3')
+ compile files('../../analytics/math3/ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
+ compile project(':samples/topology')
+ compile project(':samples/utils')
}
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/samples/connectors/build.gradle
----------------------------------------------------------------------
diff --git a/samples/connectors/build.gradle b/samples/connectors/build.gradle
index a0e3763..a6fd821 100644
--- a/samples/connectors/build.gradle
+++ b/samples/connectors/build.gradle
@@ -15,12 +15,12 @@ ext.artifact = 'samples.connectors' // However ArtifactId can be set per artifac
description = 'samples demonstrating connector functionality'
dependencies {
- compile project(':connectors/file')
- compile project(':connectors/iotf')
- compile project(':connectors/jdbc')
- compile project(':connectors/kafka')
- compile project(':connectors/mqtt')
- compile project(':connectors/serial')
- compile project(':samples/topology')
- compile project(':samples/utils')
-}
+ compile project(':connectors/file')
+ compile project(':connectors/iotf')
+ compile project(':connectors/jdbc')
+ compile project(':connectors/kafka')
+ compile project(':connectors/mqtt')
+ compile project(':connectors/serial')
+ compile project(':samples/topology')
+ compile project(':samples/utils')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/samples/console/build.gradle
----------------------------------------------------------------------
diff --git a/samples/console/build.gradle b/samples/console/build.gradle
index 694f74c..b6e44d7 100644
--- a/samples/console/build.gradle
+++ b/samples/console/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'samples.console' // However ArtifactId can be set per artifact i
description = 'samples demonstrating console functionality'
dependencies {
- compile project(':console/server')
- compile project(':providers/development')
- compile project(':providers/direct')
-}
+ compile project(':console/server')
+ compile project(':providers/development')
+ compile project(':providers/direct')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/samples/topology/build.gradle
----------------------------------------------------------------------
diff --git a/samples/topology/build.gradle b/samples/topology/build.gradle
index e29e9c5..4b5096f 100644
--- a/samples/topology/build.gradle
+++ b/samples/topology/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'samples.topology' // However ArtifactId can be set per artifact
description = 'samples demonstrating add-on functionality'
dependencies {
- compile project(':analytics/math3')
- compile project(':samples/utils')
- compile project(':runtime/jobregistry')
-}
+ compile project(':analytics/math3')
+ compile project(':samples/utils')
+ compile project(':runtime/jobregistry')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/samples/utils/build.gradle
----------------------------------------------------------------------
diff --git a/samples/utils/build.gradle b/samples/utils/build.gradle
index 318bbe1..7e05cb4 100644
--- a/samples/utils/build.gradle
+++ b/samples/utils/build.gradle
@@ -15,10 +15,10 @@ ext.artifact = 'samples.utils' // However ArtifactId can be set per artifact in
description = 'samples demonstrating add-on functionality'
dependencies {
- compile project(':console/server')
- compile project(':providers/development')
- compile project(':providers/direct')
- compile project(':utils/metrics')
- compile project(':analytics/sensors')
- compile files('../../analytics/math3/ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
-}
+ compile project(':console/server')
+ compile project(':providers/development')
+ compile project(':providers/direct')
+ compile project(':utils/metrics')
+ compile project(':analytics/sensors')
+ compile files('../../analytics/math3/ext/commons-math3-3.4.1/commons-math3-3.4.1.jar')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/settings.gradle
----------------------------------------------------------------------
diff --git a/settings.gradle b/settings.gradle
index f4d652d..fabf9d5 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -11,6 +11,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+rootProject.name = 'quarks'
//analytics
include "analytics/math3", "analytics/sensors"
// api
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/spi/graph/build.gradle
----------------------------------------------------------------------
diff --git a/spi/graph/build.gradle b/spi/graph/build.gradle
index 68074a0..8c7cd13 100644
--- a/spi/graph/build.gradle
+++ b/spi/graph/build.gradle
@@ -15,6 +15,6 @@ ext.artifact = 'spi.graph' // However ArtifactId can be set per artifact in publ
description = 'The graph SPI'
dependencies {
- compile project(':api/graph')
- compile project(':api/execution')
-}
+ compile project(':api/graph')
+ compile project(':api/execution')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/spi/topology/build.gradle
----------------------------------------------------------------------
diff --git a/spi/topology/build.gradle b/spi/topology/build.gradle
index 29873fe..cb68207 100644
--- a/spi/topology/build.gradle
+++ b/spi/topology/build.gradle
@@ -15,5 +15,5 @@ ext.artifact = 'spi.topology' // However ArtifactId can be set per artifact in p
description = 'The topology SPI'
dependencies {
- compile project(':api/topology')
-}
+ compile project(':api/topology')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/test/fvtiot/build.gradle
----------------------------------------------------------------------
diff --git a/test/fvtiot/build.gradle b/test/fvtiot/build.gradle
index 404f64e..0312011 100644
--- a/test/fvtiot/build.gradle
+++ b/test/fvtiot/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'test.fvtiot' // However ArtifactId can be set per artifact in pu
description = 'FVT for IoT scenario'
dependencies {
- compile project(':providers/direct')
- compile project(':runtime/appservice')
- compile project(':runtime/jsoncontrol')
-}
+ compile project(':providers/direct')
+ compile project(':runtime/appservice')
+ compile project(':runtime/jsoncontrol')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/test/svt/build.gradle
----------------------------------------------------------------------
diff --git a/test/svt/build.gradle b/test/svt/build.gradle
index 4207f3e..825865f 100644
--- a/test/svt/build.gradle
+++ b/test/svt/build.gradle
@@ -15,7 +15,7 @@ ext.artifact = 'test.svt' // However ArtifactId can be set per artifact in publi
description = 'SVT'
dependencies {
- compile project(':connectors/iotf')
- compile project(':samples/apps')
- compile project(':providers/development')
-}
+ compile project(':connectors/iotf')
+ compile project(':samples/apps')
+ compile project(':providers/development')
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-quarks/blob/4f98e17d/utils/metrics/build.gradle
----------------------------------------------------------------------
diff --git a/utils/metrics/build.gradle b/utils/metrics/build.gradle
index cd0ecb4..91e7e86 100644
--- a/utils/metrics/build.gradle
+++ b/utils/metrics/build.gradle
@@ -15,9 +15,9 @@ ext.artifact = 'utils.metrics' // However ArtifactId can be set per artifact in
description = 'The metrics add-on'
dependencies {
- compile project(':api/topology')
+ compile project(':api/topology')
- testCompile project(':api/topology').sourceSets.test.output
-// testCompile project(':providers/direct')
-// testCompile project(':providers/direct').sourceSets.test.output
-}
+ testCompile project(':api/topology').sourceSets.test.output
+// testCompile project(':providers/direct')
+// testCompile project(':providers/direct').sourceSets.test.output
+}
\ No newline at end of file