User guide 30 Gradle User Guide Version CCopyright ? - Hans Dockter Adam Murdoch Copies of this document may be made for your own use and for distribution to others provided that you do not charge any fee for such copies and further provided that each cop

Gradle User Guide Version CCopyright ? - Hans Dockter Adam Murdoch Copies of this document may be made for your own use and for distribution to others provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice whether distributed in print or electronically CTable of Contents I ABOUT GRADLE Introduction Overview II WORKING WITH EXISTING BUILDS Installing Gradle Using the Gradle Command-Line The Gradle Wrapper The Gradle Daemon Dependency Management Basics Introduction to multi-project builds Continuous build Using the Gradle Graphical User Interface The Build Environment Troubleshooting Embedding Gradle III WRITING GRADLE BUILD SCRIPTS Build Script Basics Build Init Plugin Writing Build Scripts More about Tasks Working With Files Using Ant from Gradle The Build Lifecycle Wrapper Plugin Logging Dependency Management Multi-project Builds Gradle Plugins Standard Gradle plugins The Project Report Plugin The Build Dashboard Plugin Comparing Builds Publishing artifacts The Maven Plugin The Signing Plugin Ivy Publishing new Maven Publishing new The Distribution Plugin The Announce Plugin The Build Announcements Plugin IV EXTENDING THE BUILD Writing Custom Task Classes Writing Custom Plugins The Java Gradle Plugin Development Plugin Organizing Build Logic Initialization Scripts The Gradle TestKit CV BUILDING JVM PROJECTS Java Quickstart The Java Plugin Web Application Quickstart The War Plugin The Ear Plugin The Jetty Plugin The Application Plugin The Java Library Distribution Plugin Groovy Quickstart The Groovy Plugin The Scala Plugin The ANTLR Plugin The Checkstyle Plugin The CodeNarc Plugin The FindBugs Plugin The JDepend Plugin The PMD Plugin The JaCoCo Plugin The Sonar Plugin The SonarQube Runner Plugin The OSGi Plugin The Eclipse Plugins The IDEA Plugin VI THE SOFTWARE MODEL - NEXT GENERATION GRADLE BUILDS Rule based model con ?guration Software model concepts Building Java Libraries Building Play applications Building native software VII APPENDIX A Gradle Samples B Potential Traps C The Feature Lifecycle D Gradle Command Line Glossary List of Examples Executing multiple tasks Excluding tasks Abbreviated task name Abbreviated camel case task name Selecting the project using a build ?le Selecting the project using project directory Obtaining information about projects Providing a description for a project Obtaining information about tasks Changing the content of the task report Obtaining more information about tasks Obtaining detailed help for tasks C Obtaining information about dependencies Filtering dependency report by con ?guration Getting the insight into a particular dependency Information about properties Running the Wrapper task Wrapper task Wrapper generated ?les Generating a SHA- hash Con ?guring SHA- checksum veri ?cation Declaring dependencies De ?nition of an external dependency Shortcut de ?nition of an external dependency Usage of Maven central repository Usage of a remote Maven repository Usage of a remote Ivy directory Usage of a local Ivy directory Publishing to an Ivy repository Publishing to a Maven repository Listing the projects in a build Launching the GUI Setting properties with a gradle properties ?le Con ?guring an HTTP proxy Con ?guring an HTTPS proxy Your ?rst build script Execution of a build script A task

  • 26
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager
  • Détails
  • Publié le Jul 13, 2021
  • Catégorie Management
  • Langue French
  • Taille du fichier 1.1MB