rootProject.name = "inz.authc.war"

File amino2Build = new File(rootDir, "../../../amino2/build.gradle");
if (amino2Build.exists()) {
	includeBuild("../../../amino2/") {
		dependencySubstitution {
			substitute module('com.beecode:amino.boot') with project(':amino.boot')
			substitute module('com.beecode:amino.boot.web') with project(':amino.boot.web')
			substitute module('com.beecode:amino.common') with project(':amino.common')
			substitute module('com.beecode:amino.core') with project(':amino.core')
			substitute module('com.beecode:amino.shell') with project(':amino.shell')
			substitute module('com.beecode:amino.tenant') with project(':amino.tenant')
			substitute module('com.beecode:bcp.authc') with project(':bcp.authc')
			substitute module('com.beecode:bcp.authc.passwd') with project(':bcp.authc.passwd')
			substitute module('com.beecode:bcp.authz') with project(':bcp.authz')
			substitute module('com.beecode:bcp.base') with project(':bcp.base')
			substitute module('com.beecode:bcp.biz') with project(':bcp.biz')
			substitute module('com.beecode:bcp.config') with project(':bcp.config')
			substitute module('com.beecode:bcp.dict') with project(':bcp.dict')
			substitute module('com.beecode:bcp.group') with project(':bcp.group')
			substitute module('com.beecode:bcp.job') with project(':bcp.job')
			substitute module('com.beecode:bcp.log') with project(':bcp.log')
			substitute module('com.beecode:bcp.org') with project(':bcp.org')
			substitute module('com.beecode:bcp.participant') with project(':bcp.participant')
			substitute module('com.beecode:bcp.query') with project(':bcp.query')
			substitute module('com.beecode:bcp.query-template') with project(':bcp.query-template')
			substitute module('com.beecode:bcp.script') with project(':bcp.script')
			substitute module('com.beecode:bcp.selector') with project(':bcp.selector')
			substitute module('com.beecode:bcp.sequence') with project(':bcp.sequence')
			substitute module('com.beecode:bcp.serial') with project(':bcp.serial')
			substitute module('com.beecode:bcp.store') with project(':bcp.store')
			substitute module('com.beecode:bcp.task') with project(':bcp.task')
			substitute module('com.beecode:bcp.type') with project(':bcp.type')
			substitute module('com.beecode:bcp.type.support.javascript') with project(':bcp.type.support.javascript')
			substitute module('com.beecode:bcp.type.support.json') with project(':bcp.type.support.json')
			substitute module('com.beecode:bcp.user') with project(':bcp.user')
			substitute module('com.beecode:bcp.workflow') with project(':bcp.workflow')
			substitute module('com.beecode:bcp.workflow.task') with project(':bcp.workflow.task')
		}
	}
}

includeBuild("../") {
	dependencySubstitution {
		substitute module('com.beecode:inz.authentication') with project(':inz.authentication')
	}
}