Update gradle properties

give the apklib a correct structure
Update gradle properties

Use specific versions of plugins for apklib compatibility