Fixed compliation errors. Added "copyPlugins" gradle task which copies all plugins into the proper directory.