Gradle essentials : master the fundamentals of Gradle with this quick and easy-to-read guide /: master the fundamentals of Gradle with this quick and easy-to-read guide. (2015)
- Record Type:
- Book
- Title:
- Gradle essentials : master the fundamentals of Gradle with this quick and easy-to-read guide /: master the fundamentals of Gradle with this quick and easy-to-read guide. (2015)
- Main Title:
- Gradle essentials : master the fundamentals of Gradle with this quick and easy-to-read guide
- Further Information:
- Note: Kunal Dabir, Abhinandan.
- Authors:
- Dabir, Kunal
Abhinandan - Contents:
- Cover ; Copyright; Credits; About the Authors; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Running Your First Gradle Task ; Installing Gradle; Installing manually; Installing on Mac OS X and Linux; Installing on Windows; Alternate methods of installing Gradle; Installing via OS-specific package managers; Installing via SDKMAN; Verifying the installation; Setting JVM options; The Gradle command-line interface; The first Gradle build script; Task name abbreviation; Gradle Daemon; Gradle Wrapper; Generating wrapper files. Running a build via wrapperSummary; Chapter 2: Building Java Projects ; Building a simple Java project; Creating a build file; Adding source files; Building the project; A brief introduction to plugins; Unit testing; Adding a unit test source; Adding the JUnit to the classpath; Running the test; Viewing test reports; Fitting tests in the workflow; Bundling an application distributable; Running the application with Gradle; Building the distribution archive; Generating IDE project files; Summary; Chapter 3: Building a Web Application ; Building a simple Java web project; Creating source files. Creating a build fileBuilding the artifact; Running the web application; Plugins to the rescue; References; Project dependencies; External libraries; The dynamic version; Transitive dependencies; Dependency configurations; Repositories; Summary; Chapter 4: Demystifying Build Scripts ; Groovy for Gradle build scripts; WhyCover ; Copyright; Credits; About the Authors; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Running Your First Gradle Task ; Installing Gradle; Installing manually; Installing on Mac OS X and Linux; Installing on Windows; Alternate methods of installing Gradle; Installing via OS-specific package managers; Installing via SDKMAN; Verifying the installation; Setting JVM options; The Gradle command-line interface; The first Gradle build script; Task name abbreviation; Gradle Daemon; Gradle Wrapper; Generating wrapper files. Running a build via wrapperSummary; Chapter 2: Building Java Projects ; Building a simple Java project; Creating a build file; Adding source files; Building the project; A brief introduction to plugins; Unit testing; Adding a unit test source; Adding the JUnit to the classpath; Running the test; Viewing test reports; Fitting tests in the workflow; Bundling an application distributable; Running the application with Gradle; Building the distribution archive; Generating IDE project files; Summary; Chapter 3: Building a Web Application ; Building a simple Java web project; Creating source files. Creating a build fileBuilding the artifact; Running the web application; Plugins to the rescue; References; Project dependencies; External libraries; The dynamic version; Transitive dependencies; Dependency configurations; Repositories; Summary; Chapter 4: Demystifying Build Scripts ; Groovy for Gradle build scripts; Why Groovy?; Groovy primer; Running Groovy code; Variables; Data structures; Methods; Classes; Another look at applying plugins; Gradle -- an object-oriented build tool; Build phases; Initialization; Configuration; Execution; Life cycle callbacks; Gradle project API. Project methodsProject properties; Extra properties on a project; Tasks; Attaching actions to a task; Task flow control; dependsOn; finalizedBy; onlyIf; mustRunAfter and shouldRunAfter; Creating tasks dynamically; Setting default tasks; Task types; Using task types; Creating task types; References; Groovy; Gradle API and DSL used in this chapter; Summary; Chapter 5: Multiprojects Build ; The multiproject directory layout; The settings.gradle file; Organizing build logic in multiproject builds; Applying a build logic to all projects; Applying build logic to subprojects. Dependency on subprojectsSummary; Chapter 6: The Real-world Project with Gradle ; Migrating from an Ant-based project; Importing an Ant file; Using AntBuilder API; Rewriting Ant tasks to Gradle tasks; Migrating from a Maven project; Publishing artifacts; Continuous Integration; Generating documentation; Summary; Chapter 7: Testing and Reporting with Gradle ; Testing with TestNG; Integration testing; Code coverage; Code analysis reports; Summary; Chapter 8: Organizing Build Logic and Plugins ; Extracting build logic to buildSrc; The first plugin; Configuring plugins; Summary. … (more)
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2015
- Extent:
- 1 online resource, illustrations
- Subjects:
- 005.14
COMPUTERS -- Internet -- Application Development
Domain-specific programming languages
COMPUTERS / Programming Languages / General
Domain-specific programming languages
COMPUTERS -- Programming Languages -- Java
Electronic books
Electronic books - Languages:
- English
- ISBNs:
- 9781783982370
1783982373
1783982365
9781783982363 - Related ISBNs:
- 9781783982363
- Notes:
- Note: Description based on online resource; title from cover page (Safari, viewed January 20, 2016).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.87904
- Ingest File:
- 01_001.xml