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

Can't build using gradle on linux #3587

Closed Player505 closed 6 years ago

Player505 commented 6 years ago

I am trying to use gradle to build pcgen from the linux terminal. However it is throwing an error returning that it could not find find method compileOnly()

FAILURE: Build failed with an exception.

* Where:
Build file '/home/*******/Desktop/build.gradle' line: 170

* What went wrong:
A problem occurred evaluating root project 'pcgen'.
> Could not find method compileOnly() for arguments [{group=org.jetbrains, name=annotations, version=15.0}] on root project 'pcgen'.

Looking on the wiki I found out that pcgen was built on java JDK 6.0 and it might be a problem that I am running java openjdk 8?

LegacyKing commented 6 years ago

This is the master development from github? Or are you trying to build a much older version of pcgen?

Player505 commented 6 years ago

The master

LegacyKing commented 6 years ago

You can try this: gradle build --project-cache-dir c:\gradle\cache

Just make sure the directory exists.

LegacyKing commented 6 years ago

We've been successfully building from the master branch during the last week. If you still have issues, jump on our support group live chat - hang out and please be patient, a volunteer will guide you in the right direction. -- https://www.hipchat.com/gmddByrFS