|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/modern-gradle-fundamentals/
课程评论:没有评论
课程名称:现代Gradle基础 课程概述:Gradle是最先进的构建工具之一,适用于Java及其他JVM语言,如Kotlin、Groovy和Scala。在本课程中,您将学习如何通过Gradle构建和组织软件项目,以最大化其效用。该课程是实践性强的,我们将从零开始构建一个项目,一步步学习Gradle的各项功能。虽然本课程以Java项目为例,但所获得的知识可以转移到使用Gradle构建的任何类型的软件项目。无论您希望解决何种自动化任务,本课程都将帮助您充分释放Gradle的强大功能。参与本课程无需具备Gradle的先前知识,您将学习到Gradle 7及更高版本的最新最佳实践。课程视频信息丰富,您可能需要定期暂停视频,以便探索示例并确保其对您有效。建议您准备大约3倍于视频时间的时间来完成相应的讲座。 主题概述: - Gradle配置语言(Gradle的DSL) - 定义项目结构 - 设置文件和Gradle包装器 - 赋予组件/子项目意义 - 构建文件 - 集中构建配置 - 约定插件 - 组建应用程序 - 添加依赖 - 运行构建 - 使用增量构建和缓存 - 配置插件添加的任务 - 使用现有任务实现注册新任务 - 在任务中实现自己的构建逻辑 - 通过生命周期任务使项目可访问 - 依赖范围(配置) - 依赖版本的集中管理 - 平台项目/依赖版本目录 - 冲突和组件元数据规则 - 源集合 - 配置测试 - Kotlin与Groovy DSL的比较 - 用Java编写构建配置 通过本课程,您将掌握使用Gradle的核心技能,为您的软件项目构建打下坚实基础。
Gradle is one of the most advanced build tools for Java and other JVM languages like Kotlin, Groovy and Scala.In this course you learn how to structure your software project with Gradle to get the most out of it.This course is hands-on. Together, we build up a project from scratch, learning Gradle features one-by-one. While we do this on the example of a Java project, the gained knowledge can be transferred to any kind of software project built with Gradle. Whatever automation task you would like to tackle: This course is for you to unlock the full power of Gradle.No prior Gradle knowledge is required and you learn the latest best practices of Gradle 7 and beyond.The video instructions are packed with information. To follow along, you will likely pause the videos regularly to explore the example and make sure it works for you. You should plan in ~3 times the duration of a video to work through the corresponding lecture.Topics OverviewGradle Configuration Language (Gradle's DSL)Define a Project Structure - Settings File and Gradle WrapperGive Meaning to Components/Subprojects - Build FilesCentralise Build Configuration - Convention PluginsCompose an Application - add DependenciesRun the Build - with Incremental Building and CachingConfigure Tasks added by PluginsRegister new Tasks using existing Task ImplementationsImplement your own Build Logic in a TaskMake your Project accessible through Lifecycle TasksDependency Scopes (aka Configurations)Central Places for Dependency Versions - Platform Projects / Dependency Version CatalogsConflicts and Component Metadata RulesSource SetsConfiguring TestingKotlin vs Groovy DSLWriting Build Configuration in Java