gradle simple and working maven optionals