Separate projects for various components

Issue #63 new
Former user created an issue

It would be convenient if the different components had their own projects that could be compiled independently. This would help reduce dependencies.

Consider the following mini-review of most dockable widgets for JavaFX: https://github.com/DaveJarvis/keenwrite/issues/65

There aren't many such widgets that work using JavaFX 11 on Linux. When running mvn package on tiwulfx, a JAR file is created that contains a lot of code, not all of it required for the dockable API. Having to sort out the dependencies is a minor barrier as well.

Ideally, pie-in-the-sky, we could do something like:

  1. git clone https://bitbucket.org/panemu/tiwulfx/tiwolfdockfx
  2. cd tiwolfdockfx
  3. gradle clean build
  4. cp build/libs/tiwolfdockfx.jar

Or, for a JavaFX application built using Gradle, we could add a dependency such as:

  • implementation: 'com.panemu:tiwuldockfx:3.1'

In this way, only the dependencies (and transitive dependencies) for the docking component would be added to the project.

Comments (0)

  1. Log in to comment