/*
 * Copyright 2021 DataCanvas
 *
 * 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.
 */

plugins {
    id 'java-conventions'
    id 'java-library'
}

dependencies {
    implementation group: 'io.dingodb.expr', name: 'dingo-expr-json', version: 'dingo-expr'.v()
    implementation group: 'io.dingodb.expr', name: 'dingo-expr-runtime', version: 'dingo-expr'.v()
    implementation group: 'io.dingodb.expr', name: 'dingo-expr-common', version: 'dingo-expr'.v()
    implementation project(':dingo-serial')
    implementation group: 'org.apache.commons', name: 'commons-text', version: 'commons-text'.v()
    implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: 'jackson'.v()
    implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-afterburner', version: 'jackson'.v()
    implementation group: 'org.apache.commons', name: 'commons-pool2', version: 'commons-pool2'.v()
    api group: 'io.dingodb', name: 'calcite-core', version: 'calcite'.v()
    implementation group: 'commons-lang', name: 'commons-lang', version: 'commons-lang'.v()
    api group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: 'jackson'.v()
    api group: 'io.protostuff', name: 'protostuff-core', version: 'protostuff'.v()
    api group: 'io.protostuff', name: 'protostuff-runtime', version: 'protostuff'.v()
    api group: 'io.dropwizard.metrics', name: 'metrics-core', version: 'metrics-core'.v()
    api group: 'io.dropwizard.metrics', name: 'metrics-jmx', version: 'metrics-jmx'.v()
    api group: 'com.google.guava', name: 'guava', version: 'guava'.v()
    implementation group: 'org.luaj', name: 'luaj-jse', version: 'luaj'.v()
    implementation group: 'io.jsonwebtoken', name: 'jjwt', version: '0.2'
}
