<commit_before>module.exports = function(context) {
  var Q    = context.requireCordovaModule('q');
  var exec = require('child_process').exec;
  var dfd  = new Q.defer();

  exec('gradle getDeps', {
    cwd: context.opts.plugin.dir
  }, function() {
    dfd.resolve();
    console.log('cordova-safe - Gradle dependencies installed');
  });

  return dfd.promise;
};<commit_msg>Use cordova logging scheme<commit_after>module.exports = function(context) {
  var Q    = context.requireCordovaModule('q');
  var exec = require('child_process').exec;
  var dfd  = new Q.defer();

  console.log('Installing "com.bridge.safe" dependencies ');
  exec('gradle getDeps', {
    cwd: context.opts.plugin.dir
  }, function() {
    dfd.resolve();
  });

  return dfd.promise;
};
{'fraction_non_alphanumeric': 0.15947712418300652, 'fraction_numerical': 0.0, 'mean_word_length': 3.878980891719745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3166969', 'n_tokens_mistral': 259, 'n_tokens_neox': 252, 'n_words': 50}