Gradle

Gradle is a build system that helps to automate and manage your building process. It downloads required dependencies, packages your code, and prepares it for compilation. Learn about Gradle basics and specifics on the Gradle website.

You can set up your own project with these instructions for different platforms or pass a small step-by-step tutorial that will show you how to create a simple backend "Hello World" application in Kotlin.

In this chapter, you can also learn about:

下一步做什么?

Learn about:

  • Gradle Kotlin DSL. The Gradle Kotlin DSL is a domain specific language that you can use to write build scripts quickly and efficiently.
  • 注解处理。 Kotlin 通过 Kotlin Symbol processing API 支持注解处理。
  • 生成文档。 如需生成 Kotlin 项目的文档,请使用 Dokka; 相关配置说明请参见 Dokka README。 Dokka 支持混合语言项目,并且可以生成多种格式的输出, 包括标准 Javadoc。
  • OSGi. 关于 OSGi 支持请参见 Kotlin OSGi 页