try to build with both mvn and gradle