@Test
void shouldParsePlainBuildGradle() {

  URL gradleInitial = GradleInfoReaderTest.class.getClassLoader().getResource(GRADLE_INITIAL);
  File file = Urls.toFile(gradleInitial);
  Path root = file.toPath().getParent();
  BuildInfo info = new GradleInfoReader().getInfo(root);
  assertNotNull(info);
  assertEquals("gradle-initial", info.getName());
  assertEquals("jar", info.getPackaging());
  assertEquals("latest", info.getVersion());
}