Search in sources :

Example 1 with CLI

use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.

the class ProjectDeploy method taskAction.

@TaskAction
void taskAction() throws Exception {
    CLI cli = plugin.getCLI();
    cli.deploy(plugin.car.getDestinationFile(), server, user, password, trustAllCertificates, assembleXsl, retry);
}
Also used : CLI(com.twinsoft.convertigo.engine.CLI) TaskAction(org.gradle.api.tasks.TaskAction)

Example 2 with CLI

use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.

the class ProjectExport method taskAction.

@TaskAction
void taskAction() throws Exception {
    CLI cli = plugin.getCLI();
    cli.export(plugin.load.getConvertigoProject());
}
Also used : CLI(com.twinsoft.convertigo.engine.CLI) TaskAction(org.gradle.api.tasks.TaskAction)

Example 3 with CLI

use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.

the class ProjectLoad method getConvertigoProject.

@Internal
synchronized Project getConvertigoProject() throws Exception {
    if (convertigoProject == null) {
        CLI cli = plugin.getCLI();
        convertigoProject = cli.loadProject(getProject().getProjectDir(), projectVersion, mobileApplicationEndpoint, gitContainer == null ? null : gitContainer.getAbsolutePath());
    }
    return convertigoProject;
}
Also used : CLI(com.twinsoft.convertigo.engine.CLI) Internal(org.gradle.api.tasks.Internal)

Example 4 with CLI

use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.

the class CompileMobileBuilder method taskAction.

@TaskAction
void taskAction() throws Exception {
    CLI cli = plugin.getCLI();
    if (mode == null) {
        String gMode = plugin.generateMobileBuilder.getMode();
        mode = (gMode == null || gMode.equals("production")) ? "production" : "debug";
    }
    cli.compileMobileBuilder(plugin.load.getConvertigoProject(), mode);
}
Also used : CLI(com.twinsoft.convertigo.engine.CLI) TaskAction(org.gradle.api.tasks.TaskAction)

Example 5 with CLI

use of com.twinsoft.convertigo.engine.CLI in project convertigo by convertigo.

the class GenerateMobileBuilder method taskAction.

@TaskAction
void taskAction() throws Exception {
    CLI cli = plugin.getCLI();
    if (mode == null) {
        mode = plugin.compileMobileBuilder.getMode();
    }
    cli.generateMobileBuilder(plugin.load.getConvertigoProject(), mode);
}
Also used : CLI(com.twinsoft.convertigo.engine.CLI) TaskAction(org.gradle.api.tasks.TaskAction)

Aggregations

CLI (com.twinsoft.convertigo.engine.CLI)9 TaskAction (org.gradle.api.tasks.TaskAction)8 BuildLocally (com.twinsoft.convertigo.engine.localbuild.BuildLocally)1 Internal (org.gradle.api.tasks.Internal)1