function PackageInfo (keystore, alias, storePassword, password, keystoreType) {
    const createNameKeyObject = (name, value) => ({ name, value: value.replace(/\\/g, '\\\\') });

    this.data = [
        createNameKeyObject('key.store', keystore),
        createNameKeyObject('key.alias', alias)
    ];

    if (storePassword) this.data.push(createNameKeyObject('key.store.password', storePassword));
    if (password) this.data.push(createNameKeyObject('key.alias.password', password));
    if (keystoreType) this.data.push(createNameKeyObject('key.store.type', keystoreType));
}
Builds the project with the specifed options.

@param   {BuildOptions}  options      A set of options. See PlatformApi.build
  method documentation for reference.
@param   {Object}  optResolvedTarget  A deployment target. Used to pass
  target architecture from upstream 'run' call. TODO: remove this option in
  favor of setting buildOptions.archs field.

@return  {Promise<Object>}            Promise, resolved with built packages
  information.