Haveno v1 gradle build plugins
Gradle plugin for copying a repo distribution's run script and lib dir to root project directory.
$ git submodule add https://github.com/haveno-dex/haveno-gradle.git
If you need to use a non-main branch of this repo, use the -b branch-name option:
git submodule add -b add-post-build-plugin https://github.com/ghubstan/haveno-gradle.git
This will add 'haveno-gradle' to .gitmodules:
[submodule "haveno-gradle"]
path = haveno-gradle
url = https://github.com/haveno-dex/haveno-gradle.git
$ git add haveno-gradle
$ git commit -m "Add submodule haveno-gradle" haveno-gradle .gitmodules
$ git push
$ git submodule init
$ git submodule update
$ git clone --recursive your-repo.git
plugins {
id 'application'
id 'haveno.post-build'
}
The haveno.post-build
plugin's postBuild
will execute at the end of your project's build task build
.