blob: ab0e21c66f2fd19d72a1e7aa1a1e07e3f592e58c [file] [log] [blame]
/*
* 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.
*/
apply from: project(":").file("build_rules.gradle")
applyJavaNature()
description = "Apache Beam :: SDKs :: Java :: IO :: MQTT"
dependencies {
compile library.java.guava
shadow project(path: ":sdks:java:core", configuration: "shadow")
shadow library.java.slf4j_api
shadow library.java.joda_time
shadow library.java.findbugs_jsr305
shadow "org.fusesource.mqtt-client:mqtt-client:1.14"
shadow "org.fusesource.hawtbuf:hawtbuf:1.11"
testCompile project(path: ":runners:direct-java", configuration: "shadow")
testCompile library.java.activemq_broker
testCompile library.java.activemq_mqtt
testCompile library.java.activemq_kahadb_store
testCompile library.java.junit
testCompile library.java.hamcrest_core
testCompile library.java.slf4j_jdk14
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests