Skip to content

Conversation

@sarahhaggarty
Copy link
Collaborator

This PR adds information about how to register generates sources in a Gradle project for Kotlin 2.3.0.

@sarahhaggarty sarahhaggarty requested a review from a team as a code owner November 19, 2025 11:06
@sarahhaggarty sarahhaggarty changed the base branch from master to 2-3-0-doc-update November 19, 2025 11:06
@sarahhaggarty sarahhaggarty force-pushed the kotlin-source-generators branch from 8726a4c to 10cec19 Compare November 19, 2025 12:31
Copy link
Collaborator

@koshachy koshachy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minors comments

the `doLast {}` task action creates a `generated.kt` file in the output directory. Finally, the example registers the task's
output as a generated source.
The `allKotlinSources` property provides access to all sources registered in the `KotlinSourceSet.kotlin` and
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear from the text where it could be used 🤔
Or maybe it is just me

@sarahhaggarty sarahhaggarty changed the title Add information how to register generates sources in a Gradle project Add information how to register generated sources in a Gradle project Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants