kotlin-dsl-samples

Samples builds using the Gradle Kotlin DSL

  • 所有者: gradle/kotlin-dsl-samples
  • 平台:
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Gradle Kotlin DSL Samples

TravisCI Build
License

Welcome! The Gradle Kotlin DSL provides support for writing Gradle build scripts using JetBrains' Kotlin language. It aims to provide Gradle users with a rich, flexible and statically-typed approach to developing build logic in conjunction with the best IDE and tooling experience possible.

Getting Started

The fastest way to get up and running with a Kotlin-based Gradle build is to use gradle init

gradle init --dsl kotlin

or, if you don't have Gradle installed already, you can generate Gradle builds online at https://gradle-initializr.cleverapps.io/.

The Gradle Kotlin DSL is documented in a dedicated chapter in the Gradle user manual.

Moreover, the Gradle user manual and guides contain build script excerpts that demonstrate both the Groovy DSL and the Kotlin DSL. This is the best place where to find how to do this and that with the Gradle Kotlin DSL; and it covers all Gradle features from using plugins to customizing the dependency resolution behavior.

There are also some Gradle Kotlin DSL samples in this repository. You'll find complete instructions in the README there.

If you are looking into migrating an existing build to the Gradle Kotlin DSL, please also check out the migration guide.

You can read more about the project in our announcement blog post and check out the frequently asked questions in the project wiki.

Issue Tracking

This repository is only for Gradle Kotlin DSL Samples.

Found a bug in one of the samples, have an idea for an improvement or for a new sample? Feel free to add an issue.

If you're dealing with what you believe to be an issue with Gradle or the Gradle Kotlin DSL, please open an issue on the gradle/gradle repository.

If you're dealing with what you believe to be an issue with Kotlin itself or the Kotlin Plugin for IDEA, you may want to search JetBrains' YouTrack first to see if it is a known issue. In any case, feel free to add an issue here for it as well. We'd like to know and track what our users are experiencing regardless whether the issue is with the Gradle Kotlin DSL or with Kotlin itself.

Staying in Touch

Come chat with us in the #kotlin-dsl channel of the public Gradle Community Slack instance.

License

Like the rest of Gradle, the Gradle Kotlin DSL Samples are released under version 2.0 of the Apache License.

Contributing

Please see CONTRIBUTING.md for details of how to build and contribute to Gradle Kotlin DSL Samples.

主要指標

概覽
名稱與所有者gradle/kotlin-dsl-samples
主編程語言Kotlin
編程語言Kotlin (語言數: 1)
平台
許可證Other
所有者活动
創建於2016-04-27 22:16:07
推送於2020-07-31 19:33:45
最后一次提交2020-07-31 15:33:44
發布數47
最新版本名稱v1.1.3 (發布於 )
第一版名稱v1.0.0-M1 (發布於 2016-05-18 02:43:32)
用户参与
星數3.7k
關注者數142
派生數434
提交數3.6k
已啟用問題?
問題數949
打開的問題數32
拉請求數303
打開的拉請求數6
關閉的拉請求數55
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?