build.gradle

34 lines | 744 B Blame History Raw Download
apply plugin: 'distribution'

dependencies {
  compile(project(':azkaban-common'))
  compile('org.apache.kafka:kafka-log4j-appender:0.10.0.0')
  compile('com.googlecode.json-simple:json-simple:1.1.1')

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

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

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'
      }
    }
  }
}