# gradle/kotlin-dsl-samples

Repository: https://github.com/gradle/kotlin-dsl-samples
Canonical: https://ross.abutalabs.com/products/kotlin-dsl-samples
Homepage: https://docs.gradle.org/current/kotlin-dsl/
Language: Kotlin
License: NOASSERTION
License Family: other
Topics: gradle, kotlin
Archived: true
Last push: 2025-12-03T09:10:05+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 3780, "days_push": 273, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3678, forks 425 (observed 2026-08-28T04:08:13.705363+00:00)

## What it is
A collection of sample projects demonstrating Gradle's Kotlin DSL for writing build scripts in Kotlin. The repository is now obsolete, with official Kotlin DSL reference documentation maintained in the Gradle docs instead.

## Use cases
- learn how to write Gradle build scripts in Kotlin
- find examples of build.gradle.kts usage
- migrate Groovy build scripts to Kotlin DSL
- see sample Gradle project setups

## When to choose
- you need historical sample code for Gradle Kotlin DSL
- you want reference examples of .gradle.kts scripts

## When to avoid
- you need up-to-date Kotlin DSL documentation - use the official Gradle docs
- you want actively maintained examples
- you need help with the latest Gradle versions

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: build-tool, documentation, developer-tools
- domain: developer-tools, programming-languages, tutorials
- platform: jvm, cross-platform
- tags: gradle, kotlin-dsl, samples, build-scripts, obsolete

## Member repositories
- gradle/kotlin-dsl-samples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:13.705363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:14.613199+00:00, confidence not recorded.
  - readme: https://github.com/gradle/kotlin-dsl-samples (fetched 2026-08-28T04:08:13.705363+00:00, sha f2a3ed99ca03)
  - homepage: https://docs.gradle.org/current/kotlin-dsl/ (fetched 2026-08-29T09:25:05.876000+00:00, sha f935188b019b)
  - site_page: https://docs.gradle.org/current/kotlin-dsl/gradle/org.gradle.docs.samples/index.html (fetched 2026-08-29T09:25:05.885501+00:00, sha 99d28a231e09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
