Now compiles and the scala code is actually working! but with gradle