Fixed the resource path issue, added javafx plugin to gradle (just type 'gradle run')