updated gradle script + moved from touchDB to CBLite