Examples of GradleProjectBuilderForJavaLibraryProject


Examples of net.sf.mygradlebuild.builder.GradleProjectBuilderForJavaLibraryProject

    @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",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.