update gradle dependencies for thymeleaf layout