build.gradle

80 lines | 2.789 kB Blame History Raw Download
/*
 * Copyright 2017 LinkedIn Corp.
 *
 * 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: 'c'
model {
    components {
        main(NativeExecutableSpec) {
            sources {
                c {
                    source {
                        srcDir "src/main"
                        include "**/*.c"
                    }
                }
            }
        }
    }
}

dependencies {
    compile project(':azkaban-spi')
    compile project(':azkaban-db')

    compile "org.apache.hadoop:hadoop-auth:$hadoopVersion"
    compile "org.apache.hadoop:hadoop-annotations:$hadoopVersion"
    compile "org.apache.hadoop:hadoop-common:$hadoopVersion"
    compile "org.apache.hadoop:hadoop-hdfs:$hadoopVersion"
    compile('com.google.inject:guice:4.1.0')
    compile('com.google.guava:guava:21.0')
    compile('commons-collections:commons-collections:3.2.2')
    compile('org.apache.commons:commons-dbcp2:2.1.1')
    compile('commons-dbutils:commons-dbutils:1.5')
    compile('commons-fileupload:commons-fileupload:1.2.1')
    compile('commons-io:commons-io:2.4')
    compile('commons-lang:commons-lang:2.6')
    compile('javax.mail:mail:1.4.5')
    compile('joda-time:joda-time:2.0')
    compile('log4j:log4j:1.2.16')
    compile('mysql:mysql-connector-java:5.1.28')
    compile('net.sf.jopt-simple:jopt-simple:4.3')
    compile('org.apache.commons:commons-jexl:2.1.1')
    compile('org.apache.commons:commons-math3:3.0')
    compile('org.apache.httpcomponents:httpclient:4.5.2')
    compile('org.apache.httpcomponents:httpcore:4.4.5')
    compile('org.apache.velocity:velocity:1.7')
    compile('org.codehaus.jackson:jackson-core-asl:1.9.5')
    compile('org.codehaus.jackson:jackson-mapper-asl:1.9.5')
    compile('org.mortbay.jetty:jetty:6.1.26')
    compile('org.mortbay.jetty:jetty-util:6.1.26')
    compile('org.quartz-scheduler:quartz:2.2.1')
    compile('org.yaml:snakeyaml:1.18')
    compile('io.dropwizard.metrics:metrics-core:3.1.0')
    compile('io.dropwizard.metrics:metrics-jvm:3.1.0')

    testCompile('org.hamcrest:hamcrest-all:1.3')
    testCompile('org.mockito:mockito-all:1.10.19')
    testCompile(project(':azkaban-test').sourceSets.test.output)

    testRuntime('com.h2database:h2:1.4.193')
    testRuntime('org.slf4j:slf4j-log4j12:1.7.18')
}

tasks.withType(JavaCompile) {
    options.encoding = "UTF-8"
}