VHAC dependency issue Minie

Hello,
I am running into an issue on my project where VHAC fails to resolve on Gradle 6.0.1, but resolves fine on Gradle 5.4.

I get this message from gradle 6.0.1:

FAILURE: Build failed with an exception.

* Where:
Build file '/builds/outside/outside/OutsideClient/build.gradle' line: 146

* What went wrong:
A problem occurred evaluating project ':PROJECT_NAME'.
> Could not resolve all files for configuration ':PROJECT_NAME:compile'.
   > Could not find vhacd:vhacd-native:1.1.1.
     Searched in the following locations:
       - https://jcenter.bintray.com/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - file:/root/.m2/repository/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - https://repo.maven.apache.org/maven2/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - https://dl.bintray.com/stephengold/jme3utilities/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - https://dl.bintray.com/riccardo/v-hacd/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - http://mavennatives.googlecode.com/svn/repo/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
       - https://dl.bintray.com/javasabr/maven/vhacd/vhacd-native/1.1.1/vhacd-native-1.1.1.pom
     Required by:
         project :PROJECT_NAME > jme3utilities:Minie:1.1.0for33

I have maven { url 'https://dl.bintray.com/riccardo/v-hacd' } in my repositories section in gradle, and it works fine on gradle 5.4, but the CI system I use runs on Gradle 6.0.1.
Any thoughts?

Thank you,
Trevor Flynn

1 Like

I discovered this same issue couple weeks ago. Riccardo’s repo lacks a POM for vhacd-native:1.1.1. I’ve mentioned it to him.

As a workaround, I’ve created my own v-hacd Maven repo which includes a POM. Please change your build script to use

maven { url 'https://dl.bintray.com/stephengold/v-hacd' }

instead of

maven { url 'https://dl.bintray.com/riccardo/v-hacd' }

I tested this with Gradle v6.0.1 and it seemed to work.

2 Likes

That worked great, thank you!

1 Like

this is in my todo list.

2 Likes