/*
 * 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.
 */

def grpcVersion = '1.68.0'

dependencies {
    api "com.google.guava:guava"
    api "org.slf4j:slf4j-api"
    api "org.assertj:assertj-core"
    api "org.apache.commons:commons-collections4"
    api "org.apache.commons:commons-text"
    api "org.apache.commons:commons-lang3"

    api "com.jayway.jsonpath:json-path"

    api "io.cloudevents:cloudevents-core"
    api "io.cloudevents:cloudevents-json-jackson"

    api "com.alibaba.fastjson2:fastjson2"

    runtimeOnly "org.apache.logging.log4j:log4j-core"
    runtimeOnly "org.apache.logging.log4j:log4j-slf4j2-impl"

    implementation 'com.github.seancfoley:ipaddress'

    implementation "com.lmax:disruptor"

    api "com.fasterxml.jackson.core:jackson-databind"
    api "com.fasterxml.jackson.core:jackson-core"
    api "com.fasterxml.jackson.core:jackson-annotations"
    api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml"
    api "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"

    implementation "org.apache.httpcomponents:httpclient"

    implementation "io.netty:netty-all"
    compileOnly 'com.mysql:mysql-connector-j'

    implementation "io.grpc:grpc-protobuf:${grpcVersion}"
    implementation "io.grpc:grpc-stub:${grpcVersion}"
    implementation "javax.annotation:javax.annotation-api:1.3.2"

    testImplementation "org.junit-pioneer:junit-pioneer"

    compileOnly 'org.projectlombok:lombok'
    annotationProcessor 'org.projectlombok:lombok'

    testCompileOnly 'org.projectlombok:lombok'
    testAnnotationProcessor 'org.projectlombok:lombok'

    testImplementation "org.apache.commons:commons-lang3"

    testImplementation "com.google.guava:guava"

    testImplementation "org.slf4j:slf4j-api"
    testImplementation "org.apache.logging.log4j:log4j-api"
    testImplementation "org.apache.logging.log4j:log4j-core"
    testImplementation "org.apache.logging.log4j:log4j-slf4j2-impl"

    testImplementation "com.lmax:disruptor"

    testImplementation "com.fasterxml.jackson.core:jackson-databind"
    testImplementation "com.fasterxml.jackson.core:jackson-core"
    testImplementation "com.fasterxml.jackson.core:jackson-annotations"

    testImplementation "org.apache.httpcomponents:httpclient"

    testImplementation "io.netty:netty-all"

    testImplementation "org.assertj:assertj-core"

    testImplementation "org.mockito:mockito-core"
    testImplementation "org.mockito:mockito-junit-jupiter"
}
