PCGen / pcgen

Main code and data development for pcgen program release
http://pcgen.org
GNU Lesser General Public License v2.1
431 stars 341 forks source link

[BUG] Can no longer use "gradlew run" to start PCGen #6991

Closed megatog615 closed 10 months ago

megatog615 commented 11 months ago

Describe the bug For years I have updated from git and used "gradlew run" to start PCGen. Now, gradlew fails with an error: Error: --module-path requires module path specification

Searching online for this problem has revealed a potential fix, removing configuration = "compileOnly" from build.gradle.

To Reproduce Steps to reproduce the behavior:

  1. cd to the git clone directory
  2. run "gradlew run"
  3. error should appear

Expected behavior I expect the app to start but I understand if my preferred method of running PCGen isn't the intended method.

Desktop (please complete the following information):

karianna commented 10 months ago

I've fixed this locally.

Remove the build.gradle block of code that says:

if (!System.getProperty('idea.active') && !(localOnly.toBoolean())) {
        configuration = "compileOnly"
}