@Test
void shouldSetCorrectResourcePath() {

  URL gradleInitial = GradleInfoReaderTest.class.getClassLoader().getResource(GRADLE_WITH_SETTINGS);
  File file = Urls.toFile(gradleInitial);
  Path root = file.toPath().getParent();
  BuildInfo info = new GradleInfoReader().getInfo(root);
  assertNotNull(info);
  assertNotEquals(info.getResourceDir(), info.getClassOutputDir());
  assertThat(info.getResourceDir().toString()).contains("src", "main", "resources");
}