Gradle Effective Implementation Guide. (2012)
- Record Type:
- Book
- Title:
- Gradle Effective Implementation Guide. (2012)
- Main Title:
- Gradle Effective Implementation Guide.
- Other Names:
- Ikkink, Hubert Klein
- Contents:
- Gradle Effective Implementation Guide; Gradle Effective Implementation Guide; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Starting with Gradle; Introducing Gradle; Declarative builds and convention over configuration; Support for Ant tasks and Maven repositories. Incremental buildsMulti-project builds; Gradle wrapper; Free and open source; Getting started; Installing Gradle; Writing our first build script; Default Gradle tasks; Task name abbreviation; Executing multiple tasks; Command-line options; Logging options; Changing the build file and directory; Running tasks without execution; Gradle daemon; Profiling; Understanding the Gradle user interface; Task Tree; Favorites; Command Line; Setup; Summary; 2. Creating Gradle Build Scripts; Writing a build script; Defining tasks; Defining actions with the Action interface; Build scripts are Groovy code. Defining dependencies between tasksDefining dependencies via tasks; Defining dependencies via closures; Setting default tasks; Organizing tasks; Adding a description to tasks; Grouping tasks together; Adding tasks in other ways; Using task rules; Accessing tasks as project properties; Adding additionalGradle Effective Implementation Guide; Gradle Effective Implementation Guide; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Starting with Gradle; Introducing Gradle; Declarative builds and convention over configuration; Support for Ant tasks and Maven repositories. Incremental buildsMulti-project builds; Gradle wrapper; Free and open source; Getting started; Installing Gradle; Writing our first build script; Default Gradle tasks; Task name abbreviation; Executing multiple tasks; Command-line options; Logging options; Changing the build file and directory; Running tasks without execution; Gradle daemon; Profiling; Understanding the Gradle user interface; Task Tree; Favorites; Command Line; Setup; Summary; 2. Creating Gradle Build Scripts; Writing a build script; Defining tasks; Defining actions with the Action interface; Build scripts are Groovy code. Defining dependencies between tasksDefining dependencies via tasks; Defining dependencies via closures; Setting default tasks; Organizing tasks; Adding a description to tasks; Grouping tasks together; Adding tasks in other ways; Using task rules; Accessing tasks as project properties; Adding additional properties to tasks; Avoiding common pitfalls; Skipping tasks; Using onlyIf predicates; Skipping tasks by throwing StopExecutionException; Enabling and disabling tasks; Skipping from the command line; Skipping tasks that are up-to-date; Summary; 3. Working with Gradle Build Scripts. Working with filesLocating files; Using file collections; Working with file trees; Copying files; Renaming files; Filtering files; Archiving files; Project properties; Defining custom properties in script; Passing properties via the command line; Defining properties via system properties; Adding properties via environment variables; Defining properties using an external file; Using logging; Controlling output; Using the Gradle wrapper; Creating wrapper scripts; Customizing the Gradle wrapper; Summary; 4. Using Gradle for Java Projects; Using plugins; Getting started; Using the Java plugin. Working with source setsCreating a new source set; Custom configuration; Working with properties; Creating documentation; Assembling archives; Summary; 5. Dependency Management; Dependency configuration; Repositories; Adding Maven repositories; Adding Ivy repositories; Adding a local directory repository; Defining dependencies; Using external module dependencies; Using project dependencies; Using file dependencies; Using client module dependencies; Using Gradle and Groovy dependencies; Accessing configuration dependencies; Setting dynamic versions; Resolving version conflicts. … (more)
- Publisher Details:
- Birmingham : Packt Pub
- Publication Date:
- 2012
- Extent:
- 1 online resource (561 pages)
- Subjects:
- 006
COMPUTERS -- Programming Languages -- Java
Computer software
Computer programming
Computer
Application software -- Development
Java (Computer program language)
COMPUTERS -- General
Computer programming
Computer software
Electronic books - Languages:
- English
- ISBNs:
- 9781849518116
1849518114 - Related ISBNs:
- 1849518114
1849518106
9781849518109 - Notes:
- Note: Print version record.
- 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.91168
- Ingest File:
- 01_016.xml