@Test
public void forJavaLibProject() throws IOException {
final GradleBuildFileGenerator generator = new GradleBuildFileGenerator();
final String project = "lib-1.0.0";
final File parent = new File("target", project);
GradleProjectBuilderForJavaLibraryProject builder = GradleProjectBuilderForJavaLibraryProject
.forProject(project).applyFroms("\"$libraryPlugin\"")
.library(project);
generator.forJavaLibProject(parent, builder);
assertEquals(
"project(':lib-1.0.0') { prj ->\n apply from : \"$libraryPlugin\"\n prj.ext.library = 'lib-1.0.0.jar'\n prj.ext.librarySources = 'lib-1.0.0-sources.jar'\n}\n",