Search in sources :

Example 6 with BuildLocally

use of com.twinsoft.convertigo.engine.localbuild.BuildLocally in project convertigo by convertigo.

the class LocalBuild method taskAction.

@TaskAction
void taskAction() throws Exception {
    CLI cli = plugin.getCLI();
    Map<String, BuildLocally> builds = cli.installCordova(plugin.load.getConvertigoProject(), platforms);
    cli.configureSignIOS(builds, iosProvisioningProfile, iosSignIdentity);
    cli.configureSignAndroid(builds, androidKeystore, androidKeystorePassword, androidAlias, androidPassword);
    cli.cordovaBuild(builds, mode);
    cli.movePackage(builds, packageDestinationDir);
}
Also used : BuildLocally(com.twinsoft.convertigo.engine.localbuild.BuildLocally) CLI(com.twinsoft.convertigo.engine.CLI) TaskAction(org.gradle.api.tasks.TaskAction)

Aggregations

BuildLocally (com.twinsoft.convertigo.engine.localbuild.BuildLocally)6 File (java.io.File)4 MobilePlatform (com.twinsoft.convertigo.beans.core.MobilePlatform)2 GetBuildStatus (com.twinsoft.convertigo.engine.admin.services.mobiles.GetBuildStatus)2 Status (com.twinsoft.convertigo.engine.localbuild.BuildLocally.Status)2 MobileApplication (com.twinsoft.convertigo.beans.core.MobileApplication)1 Project (com.twinsoft.convertigo.beans.core.Project)1 IOs (com.twinsoft.convertigo.beans.mobileplatforms.IOs)1 BuildLocallyEndingDialog (com.twinsoft.convertigo.eclipse.dialogs.BuildLocallyEndingDialog)1 CLI (com.twinsoft.convertigo.engine.CLI)1 ArchiveExportOption (com.twinsoft.convertigo.engine.enums.ArchiveExportOption)1 IOException (java.io.IOException)1 HashMap (java.util.HashMap)1 CommandLine (org.apache.commons.cli.CommandLine)1 DefaultParser (org.apache.commons.cli.DefaultParser)1 HelpFormatter (org.apache.commons.cli.HelpFormatter)1 Option (org.apache.commons.cli.Option)1 Options (org.apache.commons.cli.Options)1 Level (org.apache.log4j.Level)1 TaskAction (org.gradle.api.tasks.TaskAction)1