/*
 * 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 {
    api group: 'io.dingodb.expr', name: 'dingo-expr-json', version: 'dingo-expr'.v()
    api group: 'io.dingodb.expr', name: 'dingo-expr-runtime', version: 'dingo-expr'.v()
    api group: 'io.dingodb.expr', name: 'dingo-expr-common', version: 'dingo-expr'.v()
    api 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()
    compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: 'jackson'.v()
    compile group: 'io.protostuff', name: 'protostuff-core', version: 'protostuff'.v()
    compile group: 'io.protostuff', name: 'protostuff-runtime', version: 'protostuff'.v()
    compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: 'metrics-core'.v()
    compile group: 'io.dropwizard.metrics', name: 'metrics-jmx', version: 'metrics-jmx'.v()
    compile group: 'com.google.guava', name: 'guava', version: 'guava'.v()
    implementation group: 'org.luaj', name: 'luaj-jse', version: 'luaj'.v()
    compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.2'
}
