filmov
tv
Gradle project properties best practices (don't be that guy)
Показать описание
Gradle project properties provide an easy way to customise builds which may need to run slightly differently each time. In this video you’ll learn the most effective ways to use and set properties, along with some common scenarios you might come across in your Gradle project.
You'll discover the answer to these questions:
✅ Why use project properties in a Gradle build? (not storing credentials in version control, configurability of builds etc.)
✅ What ways are there to pass in Gradle project properties? (command line, environment variables, properties files etc.)
✅ What ways are there to access project properties in a build? (directly, with default value etc.)
You'll discover the answer to these questions:
✅ Why use project properties in a Gradle build? (not storing credentials in version control, configurability of builds etc.)
✅ What ways are there to pass in Gradle project properties? (command line, environment variables, properties files etc.)
✅ What ways are there to access project properties in a build? (directly, with default value etc.)
Gradle project properties best practices (don't be that guy)
Gradle completion (Gradle best practice tip #11)
Use the standard project layout (Gradle best practice tip #3)
Execute the right task (Gradle best practice tip #9)
Use the latest Gradle version (Gradle best practice tip #4)
Set task group and description (Gradle best practice tip #17)
Use Groovy consistently (Gradle best practice tip #18)
Optimise your repositories (Gradle best practice tip #13)
Always use the Gradle wrapper (Gradle best practice tip #1)
Version your project (Gradle best practice tip #5)
Use Java toolchain (Gradle best practice tip #12)
Gradle Multi-Project Builds in 100 Seconds
Understanding Gradle #34 – Properties and Providers
Configure Tasks List (Gradle best practice tip #19)
Centralize Dependencies With Version Catalogs (Gradle best practice tip #20)
Setup gradle with corporate proxy and registry with spring boot JAVA application (gradle.properties)
Move tasks to buildSrc (Gradle best practice tip #14)
Configuration avoidance (Gradle best practice tip #8)
Gradle | Property file
Never commit passwords (Gradle best practice tip #16)
Difference between settings.gradle & gradle.properties. | javapedia.net
Learn the Gradle Build Script Basics in 12 Minutes
Always specify settings.gradle (Gradle best practice tip #2)
Spring Boot Gradle: Best Practices for Environment Configuration
Комментарии