@Test
void shouldParsePlainBuildSbt() {

  URL sbtInitial = SbtInfoReader.class.getClassLoader().getResource(SBT_INITIAL);
  File file = Urls.toFile(sbtInitial);
  Path root = file.toPath().getParent();
  BuildInfo info = new SbtInfoReader().getInfo(root);
  assertNotNull(info);
  assertEquals("sbt-initial", info.getName());
  assertEquals("jar", info.getPackaging());
  assertEquals(SbtInfoReader.DEFAULT_VERSION, info.getVersion());
  String expectedOutputFile = root.resolve("target/")
      .resolve(info.getName() + "_" + systemScalaVersion + "-" + info.getVersion() + ".jar").toAbsolutePath()
      .toString();
  assertEquals(expectedOutputFile, info.getOutputFile().toAbsolutePath().toString());
}