@Test
  public void testIsWarProject() {
    project.getPlugins().apply("war");
    assertThat(gradleProjectProperties.isWarProject()).isTrue();
  }
Helper for reading back layers in a {@link BuildContext}.
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/GradleProjectPropertiesTest.java