apply plugin: "com.axelor.app-module"

apply from: "../version.gradle"

apply {
	version = openSuiteVersion
}

axelor {
	title "Axelor Human Resource"
	description "Axelor Human Resource Module"
}

dependencies {
	compile project(":modules:axelor-project")
	compile project(":modules:axelor-bank-payment")
}

task copyWebapp(type: Copy) {
	destinationDir = file(rootProject.buildDir)
	into("webapp/hr") {
		from "src/main/webapp"
	}
}

rootProject.tasks.war.dependsOn copyWebapp
