Summary

In this chapter, we have learned how we can run JUnit or TestNG tests from a Gradle build. We have seen how to get the test results and reports that are generated by executing the tests.

With the application plugin, we have learned how to create a distributable ZIP file with all the code and scripts necessary to run the Java application we have built.

We have learned how to upload our project artifacts to a repository so other projects can use our code. We have seen that we can use Gradle to create an artifact that is ready to be uploaded to a Maven repository.

To digitally sign our artifacts, we have seen how to use the signing plugin together with locally installed PGP tools.

Also, we have seen how we can use the War and Ear plugins to create web and enterprise applications with Gradle. We can use tasks, methods, and configuration properties to configure the packaging output.

In the next chapter, we will look at how we can run and create a multi-module project with Gradle. We will also learn how to create dependencies between projects and how to apply a common configuration to multiple projects at once.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.237.79