debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --buildsystem=gradle --with maven-repo-helper |
| 5 | |
| 6 | override_dh_auto_clean: |
| 7 | dh_auto_clean |
| 8 | # Remove the build.gradle file we created during configure |
| 9 | -rm build.gradle settings.gradle |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | # Until the Debian Gradle toolchain has Kotlin support, |
| 13 | # copy the (patched) build.gradle.kts to build.gradle |
| 14 | cp build.gradle.kts build.gradle |
| 15 | cp settings.gradle.kts settings.gradle |
| 16 | dh_auto_configure |