apply plugin: 'distribution'

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

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

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