Initiated idea project with gradle.
Got sample to work.