<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq" -->

---
title: Simpler Kotlin DSL Property Assignment | daily.dev
description: Gradle 8.2 introduces simpler property assignment syntax in Kotlin DSL, allowing the use of the = operator directly on lazy Property types instead of the...
canonical: https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Simpler Kotlin DSL Property Assignment | daily.dev
og:description: Gradle 8.2 introduces simpler property assignment syntax in Kotlin DSL, allowing the use of the = operator directly on lazy Property types instead of the...
og:url: https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq
og:image: https://api.daily.dev/og/posts/KQe3iMHIQ.png
og:image:alt: Simpler Kotlin DSL Property Assignment
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Simpler Kotlin DSL Property Assignment

**[Gradle Blog](https://daily.dev/sources/gradle-blog)** · 5 min read · 0 upvotes · 0 comments

## Summary

Gradle 8.2 introduces simpler property assignment syntax in Kotlin DSL, allowing the use of the = operator directly on lazy Property types instead of the verbose .set() method. This was made possible through a Kotlin compiler plugin developed in collaboration with JetBrains, marking the first externally contributed Kotlin language feature. The change reduces verbosity, standardizes property access, and eases migration from Groovy DSL to Kotlin DSL. The feature is enabled by default in Gradle 8.2 but remains incubating until Gradle 8.3.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gradle.org/simpler-kotlin-dsl-property-assignment>

## Similar posts on daily.dev

- [Kotlin DSL Deep Dive: From Gradle Scripts to Building Your Own](https://daily.dev/posts/kotlin-dsl-deep-dive-from-gradle-scripts-to-building-your-own-qsm30digc) · ProAndroidDev · 0 upvotes · 0 comments
- [5 Kotlin Features Every Android Developer Should Actually Be Using part 2](https://daily.dev/posts/5-kotlin-features-every-android-developer-should-actually-be-using-part-2-z5lxjn1d1) · Medium · 0 upvotes · 0 comments
- [The Road to Name-Based Destructuring](https://daily.dev/posts/the-road-to-name-based-destructuring-c4j1di6l4) · JetBrains · 20 upvotes · 0 comments
- [Moving beyond Strings in Spring Data](https://daily.dev/posts/moving-beyond-strings-in-spring-data-ahkqogf9o) · Spring · 22 upvotes · 1 comments

---

Tags: [#kotlin](https://daily.dev/tags/kotlin), [#gradle](https://daily.dev/tags/gradle)

[View this post on daily.dev](https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Simpler Kotlin DSL Property Assignment","url":"https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq"},"datePublished":"2026-03-16T08:13:08.369Z","dateModified":"2026-03-16T08:24:53.171Z","description":"Gradle 8.2 introduces simpler property assignment syntax in Kotlin DSL, allowing the use of the = operator directly on lazy Property types instead of the...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"Gradle Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Gradle Blog","logo":"https://media.daily.dev/image/upload/s--Mtc4Cp4O--/f_auto,q_auto/v1773648768/logos/gradle-blog?_a=BAMAMiiu0","url":"https://daily.dev/sources/gradle-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/simpler-kotlin-dsl-property-assignment-kqe3imhiq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kotlin,gradle","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Gradle Blog","item":"https://daily.dev/sources/gradle-blog"},{"@type":"ListItem","position":3,"name":"Simpler Kotlin DSL Property Assignment"}]}
```

