Skip to content

Commit

Permalink
servlet-http-server
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Oct 25, 2021
1 parent 675ef7b commit 991bc11
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
44 changes: 44 additions & 0 deletions bookkeeper-http/servlet-http-server/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* 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 'java'
id 'com.adarshr.test-logger'
}

dependencies {
implementation project(':bookkeeper-http:http-server')
implementation depLibs.slf4j
implementation depLibs.javaxServlet
implementation depLibs.commonsIO

compileOnly depLibs.lombok
annotationProcessor depLibs.lombok

testImplementation depLibs.junit
testImplementation depLibs.jettyWebapp
}

publishing {
publications {
maven(MavenPublication) {
groupId = 'org.apache.bookkeeper.http'
artifactId = 'servlet-http-server'
}
}
}
1 change: 1 addition & 0 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ depLibs = [
jettyServlet: dependencies.create("org.eclipse.jetty:jetty-servlet:${depVersions.jetty}") {
exclude group: 'javax.servlet', module: 'javax.servlet-api'
},
jettyWebapp: "org.eclipse.jetty:jetty-webapp:${depVersions.jetty}",
jmock: "org.jmock:jmock:${depVersions.jmock}",
jmhCore: "org.openjdk.jmh:jmh-core:${depVersions.jmh}",
jmhGeneratorAnnprocess: "org.openjdk.jmh:jmh-generator-annprocess:${depVersions.jmh}",
Expand Down
10 changes: 10 additions & 0 deletions metadata-drivers/etcd/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
plugins {
id 'java'
id 'com.adarshr.test-logger'
}

dependencies {
Expand All @@ -41,5 +42,14 @@ dependencies {

annotationProcessor depLibs.lombok
testAnnotationProcessor depLibs.lombok
}

publishing {
publications {
maven(MavenPublication) {
groupId = 'org.apache.bookkeeper.metadata.drivers'
artifactId = 'metadata-stores-etcd'
}
}
}

1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ include(':bookkeeper-benchmark',
'bookkeeper-dist-src',
'bookkeeper-dist:storage-bench',
'bookkeeper-http:http-server',
'bookkeeper-http:servlet-http-server',
'bookkeeper-http:vertx-http-server',
'bookkeeper-proto',
'bookkeeper-server',
Expand Down

0 comments on commit 991bc11

Please sign in to comment.