Mastering Gradle

Mastering Gradle

Author: Mainak Mitra

Publisher: Packt Publishing Ltd

Published: 2015-07-31

Total Pages: 285

ISBN-13: 1783981377

DOWNLOAD EBOOK

With Gradle, you can efficiently build automation framework along with some flexible alternatives to customized build logic. This book starts with sound basics about build automation and how Gradle fits into this automation. It then moves on to give you a good exposure on Groovy—a scripting language used to write Gradle—and helps you understand a key elements of Groovy programming language. In the following chapters, you will deal with task management and learn how to integrate Ant tasks into build scripts. Furthermore, you will learn dependency management, plugin management, and its configuration techniques in Gradle. You will also get hands-on with building and testing projects using Gradle. You will then begin to cover diverse topics, such as Continuous Integration with Jenkins and TeamCity, Migration strategies, and Deployment, which enables you to learn concepts useful for Agile software development. Finally, you will also learn how to create a simple mobile application using Android and explore how Gradle can help you to build and test the application.


Gradle in Action

Gradle in Action

Author: Benjamin Muschko

Publisher: Simon and Schuster

Published: 2014-02-19

Total Pages: 756

ISBN-13: 1638351724

DOWNLOAD EBOOK

Summary Gradle in Action is a comprehensive guide to end-to-end project automation with Gradle. Starting with the basics, this practical, easy-to-read book discusses how to build a full-fledged, real-world project. Along the way, it touches on advanced topics like testing, continuous integration, and monitoring code quality. You'll also explore tasks like setting up your target environment and deploying your software. About the Technology Gradle is a general-purpose build automation tool. It extends the usage patterns established by its forerunners, Ant and Maven, and allows builds that are expressive, maintainable, and easy to understand. Using a flexible Groovy-based DSL, Gradle provides declarative and extendable language elements that let you model your project's needs the way you want. About the Book Gradle in Action is a comprehensive guide to end-to-end project automation with Gradle. Starting with the basics, this practical, easy-to-read book discusses how to establish an effective build process for a full-fledged, real-world project. Along the way, it covers advanced topics like testing, continuous integration, and monitoring code quality. You'll also explore tasks like setting up your target environment and deploying your software. The book assumes a basic background in Java, but no knowledge of Groovy. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. Whats Inside A comprehensive guide to Gradle Practical, real-world examples Transitioning from Ant and Maven In-depth plugin development Continuous delivery with Gradle About the Author Benjamin Muschko is a member of the Gradleware engineering team and the author of several popular Gradle plugins. Table of Contents PART 1 INTRODUCING GRADLE Introduction to project automation Next-generation builds with Gradle Building a Gradle project by example PART 2 MASTERING THE FUNDAMENTALS Build script essentials Dependency management Multiproject builds Testing with Gradle Extending Gradle Integration and migration PART 3 FROM BUILD TO DEPLOYMENT IDE support and tooling Building polyglot projects Code quality management and monitoring Continuous integration Artifact assembly and publishing Infrastructure provisioning and deployment


Gradle Essentials

Gradle Essentials

Author: Kunal Dabir

Publisher: Packt Publishing Ltd

Published: 2015-12-23

Total Pages: 176

ISBN-13: 1783982373

DOWNLOAD EBOOK

Master the fundamentals of Gradle using real-world projects with this quick and easy-to-read guide About This Book Write beautiful build scripts for various types of projects effortlessly Become more productive by harnessing the power and elegance of the Gradle DSL Learn how to use Gradle quickly and effectively with this step-by-step guide Who This Book Is For This book is for Java and other JVM-based language developers who want to use Gradle or are already using Gradle on their projects. No prior knowledge of Gradle is required, but some familiarity with build-related terminologies and an understanding of the Java language would help. What You Will Learn Master the Gradle DSL by identifying the building blocks Learn just enough Groovy for Gradle Set up tests and reports for your projects to make them CI ready Create library, stand-alone, and web projects Craft multi-module projects quickly and efficiently Migrate existing projects to a modern Gradle build Extract common build logic into plugins Write builds for languages like Java, Groovy, and Scala In Detail Gradle is an advanced and modern build automation tool. It inherits the best elements of the past generation of build tools, but it also differs and innovates to bring terseness, elegance, simplicity, and the flexibility to build. Right from installing Gradle and writing your first build file to creating a fully-fledged multi-module project build, this book will guide you through its topics in a step-by-step fashion. You will get your hands dirty with a simple Java project built with Gradle and go on to build web applications that are run with Jetty or Tomcat. We take a unique approach towards explaining the DSL using the Gradle API, which makes the DSL more accessible and intuitive. All in all, this book is a concise guide to help you decipher the Gradle build files, covering the essential topics that are most useful in real-world projects. With every chapter, you will learn a new topic and be able to readily implement your build files. Style and approach This step-by-step guide focuses on being productive with every chapter. When required, topics are explained in-depth to give you a good foundation of the Gradle fundamentals. The book covers most aspects of builds required for conventional JVM-based projects, and when necessary, points you towards the right resources.


Building and Testing with Gradle

Building and Testing with Gradle

Author: Tim Berglund

Publisher: "O'Reilly Media, Inc."

Published: 2011-07-13

Total Pages: 111

ISBN-13: 144930463X

DOWNLOAD EBOOK

Gradle is the project automation tool that is taking the Java world by storm. This text shows you how to use Gradle for building and testing software written in Java and other JVM languages. It covers transitioning to Gradle from Maven, integration with IDEs such as Eclipse, and more.


Mastering Corda

Mastering Corda

Author: Jamiel Sheikh

Publisher: "O'Reilly Media, Inc."

Published: 2020-10-09

Total Pages: 486

ISBN-13: 1492047139

DOWNLOAD EBOOK

Mastering Corda provides you with a consistent, linear, and paced path to learning Corda and building modern enterprise-grade decentralized applications. Using this book, anyone from a complete blockchain beginner to an experienced blockchain or enterprise architect can rapidly understand and write applications like a pro while exploring the technical nuances and intricacies of the Corda platform. Corda is designed for use cases such as finance and investments, supply chain, healthcare, trade finance, insurance, and real estate that require a high-volume of transactions, scalability, and data privacy. If you have basic Java skills, this book will help you understand blockchain and show how you can get started immediately and be involved in the disruption of the future. With this book, you will: Understand Corda's value proposition and alignment with business strategies--particularly relevant to business executives and architects Dive deep into Corda's architecture and blockchain fundamentals Rapidly gain extensive knowledge of and hands-on experience with building Corda applications Compare and contrast Corda with Bitcoin, Ethereum, and Hyperledger Effectively prepare for the Corda certification exam and job interviews involving blockchain Perform data analytics and machine learning on Corda nodes


Gradle for Android

Gradle for Android

Author: Kevin Pelgrims

Publisher: Packt Publishing Ltd

Published: 2015-07-17

Total Pages: 172

ISBN-13: 1783986832

DOWNLOAD EBOOK

Gradle is an open source build automation system that introduces a Groovy-based domain-specific language (DSL) to configure projects. Using Gradle makes it easy for Android developers to manage dependencies and set up the entire build process. This book begins by taking you through the basics of Gradle and how it works with Android Studio. Furthermore, you will learn how to add local and remote dependencies to your project. You will work with build variants, such as debug and release, paid and free, and even combinations of these things. The book will also help you set up unit and integration testing with different libraries and will show how Gradle and Android Studio can make running tests easier. Finally, you will be shown a number of tips and tricks on the advanced customization of your application's build process. By the end of this book, you will be able to customize the entire build process, and create your own tasks and plugins for your Gradle builds.


Mastering Android Wear Application Development

Mastering Android Wear Application Development

Author: Siddique Hameed

Publisher: Packt Publishing Ltd

Published: 2016-12-08

Total Pages: 216

ISBN-13: 1785886371

DOWNLOAD EBOOK

Master the future of mobile devices in wearable technology About This Book Mastering Android Wear Development is a complete guide to wearable technology for experienced Android developers Notifications, voice input, coping with round screens – all the key challenges of wearable technology are covered This book describes not just how to write code for wearables, but also how to think about wearable technology and design apps that work well with the physical limitations of wearable devices Who This Book Is For This book is for application developers (the web, mobile, and desktop) who are interested in building new wearable apps, and mobile developers who already have apps on iTunes or Google Play Store and are looking to provide Android Wear support for their existing Android or iOS apps. What You Will Learn Understand the Wearable computing technology Set up a development environment to build Android Wear apps using Android Studio Master the Android Wear SDK and APIs Understand the UI patterns and UX principles to build Android Wear apps Work with the different form factors of wearable devices (round and square) Take advantage of the sensors available on Android Wear devices Develop Android Wear sample apps Communicate between Android mobile and Android Wear apps Get to know the steps involved in publishing Android Wear apps to the Play store In Detail Wearable technology is the future of mobile devices. It looks set to be a breakthrough technology, just like the iPad was before it. With the Apple Watch being widely regarded as a success, all eyes are now on Google to provide a similar device for its users. Keep your skills ahead of the competition and be one of the first to fully understand this powerful new trend. This book will give you a very solid understanding of the philosophy, thought process, development details, and methodologies involved in building well-designed, robust Android Wear applications. We cover the advantages and disadvantages of the wearable computing paradigm and provide a good foundational knowledge for you to build practical, real-world wearable apps. You will learn about the various tools, platforms, libraries, SDKs, and technology needed to build Android Wear apps. By the end of the book, you will be an expert in building Android wearable apps. Style and approach This one-stop professional tutorial will teach you everything you need to know to begin designing and developing applications for this exciting new technology. Every step from development through testing to deployment is explained in depth.


Mastering LibGDX Game Development

Mastering LibGDX Game Development

Author: Patrick Hoey

Publisher: Packt Publishing Ltd

Published: 2015-11-26

Total Pages: 420

ISBN-13: 1785287710

DOWNLOAD EBOOK

Leverage the power of LibGDX to create a fully functional, customizable RPG game for your own commercial title About This Book Learn game architecture and design patterns with concrete examples using proper software engineering principles Save time and money with this handy reference guide for future game development with LibGDX Design and develop a fully functional RPG video game from scratch with a hands on, step-by-step approach using LibGDX Who This Book Is For If you are an intermediate-level game developer who wants to create an RPG video game but found the creation process overwhelming, either by lack of tutorials or by getting lost in a sea of game-related technologies, engines, or frameworks, then this book is for you. This book assumes familiarity with Java and some basic knowledge of LibGDX. What You Will Learn Develop characters with stat attributes, player movement, animation, physics, and collision detection Create interactive NPC characters with speech windows and build immersion via dialog trees Build inventory management system UIs with drag and drop items to sell, buy, and equip Design a quest system to expand out the content of your game Form interesting enemies with battle mechanics and spawn points Devise scripted cutscenes to add an element of story and drama Develop save and load game profiles Create special effects to give the game extra “juiciness” and polish, and help build the atmosphere In Detail LibGDX is a Java-based framework developed with a heavy emphasis on performance, and includes cross-platform support out of the box (Windows, OS X, Linux, iOS, Android, and HTML5) as well as providing all the low-level functionality so that you can focus on developing your game and not battling with the platform. LibGDX also has an engaged and responsive community, active maintenance, and is available for free without a prohibitive license. Starting from the beginning, this book will take you through the entire development process of creating an RPG video game using LibGDX. First, this book will introduce you to the features specific to RPG games, as well as an overview of game architecture. Then, you will create map locations, develop character movement, add animation, integrate collision detection, and develop a portal system. Next, you will learn and develop a HUD and other UI components, as well as an inventory management system. You will then develop NPC interactions including dialog trees, shopkeepers, and quest givers. After this, you will design and create battle features for fighting enemies, as well as event triggers for world events. Finally, you will add the final polish with sound, music, and lighting effects. By the end of this book, you will have learned and applied core components from the LibGDX framework, as well as have a finished game to use as a springboard for customization and story development for your own commercial video game. Style and approach This book walks you through the concepts and implementation of developing a complete RPG game, unfolding chapter by chapter and building upon previous concepts. Each chapter can be used as an individual reference with diagrams to explain core concepts with concrete example code explained in detail.


Mastering Unit Testing Using Mockito and JUnit

Mastering Unit Testing Using Mockito and JUnit

Author: Sujoy Acharya

Publisher: Packt Publishing Ltd

Published: 2014-07-15

Total Pages: 445

ISBN-13: 1783982519

DOWNLOAD EBOOK

A practical and easy-to-follow, yet comprehensive, guide to learning advanced JUnit testing. Each topic is explained and placed in context, and for the more inquisitive, there are more details of the concepts used. This book is for you if you are a developer with some experience in Java application development as well as a basic knowledge of JUnit testing. But for those whose skill set is void of any prior experience with JUnit testing, the book also covers basic fundamentals to get you acquainted with the concepts before putting them into practise.


Mastering Kotlin for Android 14

Mastering Kotlin for Android 14

Author: Harun Wangereka

Publisher: Packt Publishing Ltd

Published: 2024-04-05

Total Pages: 370

ISBN-13: 1837631131

DOWNLOAD EBOOK

Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps with the help of this part-color guide Key Features Apply best practices and industry-essential skills used by Google Developer Experts Find out how to publish, monitor, and improve your app metrics on the Google Play Store Learn how to debug issues, detect leaks, inspect network calls, and inspect your app’s local database Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionWritten with the best practices, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps. As you progress, you'll use Jetpack Compose and Material Design 3 to build UIs for your app, explore how to architect and improve your app architecture, and use Jetpack Libraries like Room and DataStore to persist your data locally. Using a step-by-step approach, this book will teach you how to debug issues in your app, detect leaks, inspect network calls fired by your app, and inspect your Room database. You'll also add tests to your apps to detect and address code smells. Toward the end, you’ll learn how to publish apps to the Google Play Store and see how to automate the process of deploying consecutive releases using GitHub actions, as well as learn how to distribute test builds to Firebase App Distribution. Additionally, the book covers tips on how to increase user engagement. By the end of this Kotlin book, you’ll be able to develop market-ready apps, add tests to their codebase, address issues, and get them in front of the right audience.What you will learn Build beautiful, responsive, and accessible UIs with Jetpack Compose Explore various app architectures and find out how you can improve them Perform code analysis and add unit and instrumentation tests to your apps Publish, monitor, and improve your apps in the Google Play Store Perform long-running operations with WorkManager and persist data in your app Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution Find out how to add linting and static checks on CI/CD pipelines Who this book is for If you’re an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.