Compile dependency on optaplanner-core fails in gradle but works in Maven


(Philippe Bernard) #1

Trying to use optaplanner-core library as a dependency from gradle 1.8 fails (“Could not find any version that matches…”) while it works with maven. The optaplanner bug with the gradle debug output is available here https://issues.jboss.org/browse/GUVNOR-2055.


(Geoffrey De Smet) #2

More details about this issue.

The guvnor-bom import is declared here:

https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/6.0.0.CR4/kie-parent-with-dependencies/pom.xml#L96 The {guvnor.version} property is declared here.

https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/6.0.0.CR4/pom.xml#L52