applying scala plugin