I played around with it a little bit and I think I found a solution: By renaming jbullet.jar to jbullet-1.0.jar and stack-alloc.jar to stack-alloc-1.0.jar gradle stores 1.0 as version in the pom when installing the engine. Now gradle can resolve the dependencies when building the sdk.
Changes:
- Rename jmonkeyengine/lib/jbullet.jar to jbullet-1.0.jar
- Rename jmonkeyengine/lib/stack-alloc.jar to stack-alloc-1.0.jar
- Rename sdk/lib/jbullet.jar to jbullet-1.0.jar
- Rename sdk/lib/stack-alloc.jar to stack-alloc-1.0.jar
- Change compile
'jbullet:jbullet'
to compile'jbullet:jbullet:1.0'
- Change compile
'stack-alloc:stack-alloc'
to compile'stack-alloc:stack-allock:1.0'