#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_VERSION_UPSTREAM

%:
	dh $@ --buildsystem=gradle --with maven-repo-helper

override_dh_auto_build:
	mkdir -p src/main/java
	dh_auto_build

override_dh_auto_configure:
	dh_auto_configure $@
	rsync -Lav ../debian/built-components/ debian/ || true