File: rules

package info (click to toggle)
apiguardian 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 136 kB
  • sloc: java: 28; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

override_dh_auto_clean:
	dh_auto_clean
	# Remove the build.gradle file we created during configure
	-rm build.gradle settings.gradle

override_dh_auto_configure:
	# Until the Debian Gradle toolchain has Kotlin support,
	# copy the (patched) build.gradle.kts to build.gradle
	cp build.gradle.kts build.gradle
	cp settings.gradle.kts settings.gradle
	dh_auto_configure