blob: 08f2403ac4efee076b3ce1a9dfb65e5ac2be35ea [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.
*/
plugins {
id 'application'
id 'distribution'
}
dependencies {
implementation project(':bookkeeper-common-allocator')
implementation project(':bookkeeper-common')
implementation project(':bookkeeper-server')
implementation project(':bookkeeper-stats')
implementation project(':stream:clients:java:all')
implementation project(':stream:clients:java:base')
implementation project(':stream:common')
implementation project(':stream:distributedlog:core')
implementation project(':stream:distributedlog:protocol')
implementation project(':stream:proto')
implementation project(':stream:statelib')
implementation project(':stream:storage:api')
implementation project(':stream:storage:impl')
implementation project(':bookkeeper-stats-providers:prometheus-metrics-provider')
runtimeOnly project(':bookkeeper-tools-ledger')
runtimeOnly project(':bookkeeper-tools-stream')
runtimeOnly project(':bookkeeper-http:vertx-http-server')
implementation depLibs.commonsConfiguration
implementation depLibs.commonsLang3
implementation depLibs.curatorFramework
implementation depLibs.grpc
implementation depLibs.guava
implementation depLibs.jcommander
implementation depLibs.lombok
implementation depLibs.zookeeper
runtimeOnly depLibs.metricsCore
runtimeOnly depLibs.snappy
runtimeOnly depLibs.slf4jLog4j
runtimeOnly depLibs.commonsBeanutils
runtimeOnly depLibs.vertxCore
runtimeOnly depLibs.vertxWeb
testImplementation depLibs.mockito
annotationProcessor depLibs.lombok
}
application {
mainClassName = "org.apache.bookkeeper.stream.cluster.StandaloneStarter"
}
task writeClasspath {
buildDir.mkdirs()
new File(buildDir, "classpath.txt").text = sourceSets.main.runtimeClasspath.collect { it.absolutePath }.join(':') + "\n"
}
publishing {
publications {
maven(MavenPublication) {
artifactId = 'stream-storage-server'
}
}
}