Other notes - dialogos-project/dialogos GitHub Wiki

Compiling DialogOS

To build a single module, run

./gradlew moduleName:build

Testing Integration

When you fix DialogOS-Core stuff that you can only test from dialogos-distribution (frequent case: you need support for German for testing), you need to:

  • create a branch on dialogos (e.g. timo/issue165) and push this somewhere (e.g. your own fork of dialogos, i.e. github.com/timobaumann/dialogos)
  • in dialogos-distribution change the dependency of runtime group:'com.github.dialogos-project', name:'dialogos' to depend on the version timo~issue165 (***i.e., replace slash with tilde!!! ***) and group to com.github.timobaumann if you're on your own fork.
  • ./gradlew --refresh-dependencies run/build/whatever whatever.
  • change, try, fix until you're done.
  • rebase your changes onto current master, unless that is still up-to-date
  • squash your changes into one (or a few) using git rebase -i master
  • push to master, close bug, earn eternal fame.