spring application with hide message

How to create jar: gradle clean build