It doesn't actually work to build fat executable jars because we always
have bouncycastle jars that need to exist outside of the fat jar. This
change drops building fat jars altogether in favor of using Gradle's
built-in `application` plugin to write simple scripts that invoke java
with the correct classpath against a directory of all dependencies
(including bouncycastle) without the need to have a fat jar in the mix.
Essentially, you should now run:
./gradlew build
./build/app/bin/bisq-desktop [options]
Instead of `java -jar build/libs/bisq-desktop.jar`.
See updated doc/build.md for details.
This commit takes a pass through all documentation and scripts,
replacing any remaining `mvn` commands with their `gradle` equivalents,
replacing `target/*` paths with their `build/*` equivalents, and so on.
Note that the instruction to install Maven has been removed entirely
from documentation and scripts, as opposed to instructing users to
install Gradle, because with the Gradle wrapper (the `gradlew` script in
the root of this repository), it is unnecessary to install Gradle at
all. Users may still do this with, e.g. `brew install gradle` if they
like, but otherwise can get everything they need done with `./gradlew`
commands.
This commit also replaces lowercase 'bisq' with capitalized 'Bisq' where
appropriate in documentation.
Like the previous commit, this is a best-effort approach, and not all
scripts are perfectly up-to-date and tested. Indeed, many of the docs
and scripts we have now are essentially legacy documents and should
probably be scrapped or reworked completely.
This commit removes seednode specific docs and updates doc/build.md as
necessary to reflect the fact that the seednode module is being
extracted into its own repository.
This doc should be removed in favor of the root-level CONTRIBUTING.md,
but this can be done later; this is just a quick fix to make sure we've
gotten rid of all references to the `Development` branch.
On Ubuntu 17.10, installing `libopenjfx-java` was not sufficient
producing a build error because could not find `openjfx`.
Build succeeded after install of package `openjfx`.
Package `openjfx` depends on `libopenjfx-java` (and `openjdk-8-jre`)
The command line update-alternatives --config java
changes the symbolic links /usr/lib/jvm/default-java
in order to switch to another installed JDK.
From my knowledge, I know three different path:
* /usr/lib/jvm/default-java since Ubuntu 16.10
* /usr/lib/jvm/default for Arch
* /usr/lib/jvm/java for Fedora