/*
 * Copyright © 2024 Apple Inc. and the ServiceTalk project authors
 *
 * Licensed 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 plugin: "io.servicetalk.servicetalk-gradle-plugin-internal-library"

dependencies {
  api project(":servicetalk-capacity-limiter-api")
  api project(":servicetalk-circuit-breaker-api")
  api project(":servicetalk-client-api")
  api project(":servicetalk-concurrent-api")
  api project(":servicetalk-context-api")
  api project(":servicetalk-http-api")
  api project(":servicetalk-transport-api")

  implementation project(":servicetalk-annotations")
  implementation project(":servicetalk-buffer-api")
  implementation project(":servicetalk-concurrent")
  implementation project(":servicetalk-concurrent-internal")
  implementation project(":servicetalk-http-utils")
  implementation project(":servicetalk-utils-internal")
  implementation "org.slf4j:slf4j-api:$slf4jVersion"

  testImplementation enforcedPlatform("io.netty:netty-bom:$nettyVersion")
  testImplementation enforcedPlatform("org.junit:junit-bom:$junit5Version")
  testImplementation testFixtures(project(":servicetalk-concurrent-api"))
  testImplementation testFixtures(project(":servicetalk-concurrent-internal"))
  testImplementation testFixtures(project(":servicetalk-http-netty"))
  testImplementation testFixtures(project(":servicetalk-transport-netty-internal"))
  testImplementation project(":servicetalk-buffer-netty")
  testImplementation project(":servicetalk-concurrent-api-test")
  testImplementation project(":servicetalk-concurrent-test-internal")
  testImplementation project(":servicetalk-http-netty")
  testImplementation project(":servicetalk-test-resources")
  testImplementation "io.netty:netty-common"
  testImplementation "org.junit.jupiter:junit-jupiter-api"
  testImplementation "org.junit.jupiter:junit-jupiter-params"
  testImplementation "org.hamcrest:hamcrest:$hamcrestVersion"
  testImplementation "org.mockito:mockito-core:$mockitoCoreVersion"
}
