build.gradle

36 lines | 804 B Blame History Raw Download
apply plugin: 'distribution'

dependencies {
    compile(project(':azkaban-common'))

    compile deps.kafkaLog4jAppender

    runtime(project(':azkaban-hadoop-security-plugin'))

    testCompile(project(path: ':azkaban-common', configuration: 'testCompile'))
    testCompile(project(':azkaban-common').sourceSets.test.output)

    testRuntime deps.h2
}

distributions {
    main {
        contents {
            from('src/main/bash') {
                into 'bin'
                fileMode = 0755
            }
            from('../azkaban-common/src/main/bash') {
                into 'bin'
                fileMode = 0755
            }
            from(configurations.runtime) {
                into 'lib'
            }
            from(jar) {
                into 'lib'
            }
        }
    }
}