Search in sources :

Example 1 with JibExtension

use of com.google.cloud.tools.jib.gradle.JibExtension in project jib-extensions by GoogleContainerTools.

the class JibQuarkusExtension method readJibConfigurations.

private void readJibConfigurations(Project project) {
    JibExtension jibPlugin = project.getExtensions().findByType(JibExtension.class);
    String appRootValue = jibPlugin.getContainer().getAppRoot();
    if (!Strings.isNullOrEmpty(appRootValue)) {
        appRoot = AbsoluteUnixPath.get(appRootValue);
    }
    jvmFlags = jibPlugin.getContainer().getJvmFlags();
}
Also used : JibExtension(com.google.cloud.tools.jib.gradle.JibExtension)

Aggregations

JibExtension (com.google.cloud.tools.jib.gradle.JibExtension)1