NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
344 stars 142 forks source link

Fresh repo clone build fails #226

Open neeme-praks-sympower opened 2 years ago

neeme-praks-sympower commented 2 years ago

Steps:

  1. clone https://github.com/NeuronRobotics/nrjavaserial/
  2. ./gradlew jar

Expected result: a successful build.

Actual result: build failure as gradle.properties is a symlink to /home/hephaestus/gradle.properties.

Workaround: replace the contents of gradle.properties with:

ossrhUsername=
ossrhPassword=

The problem was introduced in this commit.

madhephaestus commented 2 years ago

I have just learned how to auto-release to sonatype so i will be migrating that process over to nrJavaSerial, this issue will be fixed in that process.

neeme-praks-sympower commented 2 years ago

Well, the fix is easy so why not just fix it now? In your local environment, you can still continue using symlink, gradle.properties is in .gitignore anyway.