Skip to content

Conversation

JakeWharton
Copy link
Collaborator

Update Gradle plugin to invoke CLI to perform compilation. This allows compilation to not be subject to the version of Kotlin on the Gradle buildscript classpath.

Should unblock #1420

@JakeWharton JakeWharton force-pushed the jw.cli-compile.2024-09-06 branch 4 times, most recently from 90d4547 to 63be40f Compare September 7, 2024 01:57
Update Gradle plugin to invoke CLI to perform compilation. This allows compilation to not be subject to the version of Kotlin on the Gradle buildscript classpath.
@JakeWharton JakeWharton force-pushed the jw.cli-compile.2024-09-06 branch from 63be40f to 404c135 Compare September 7, 2024 02:38
}
.multiple()

private val metadata by option().associate()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This API is so powerful

stripLineNumbers = stripLineNumbers,
)

if (addedFiles.size or removedFiles.size or modifiedFiles.size != 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this bitwise or ? Sneaky! I’d complain but it passes the less-code test

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep. The normal isNotEmpty and boolean conditionals wrapped and it annoyed me so... I figure it's only in one place.

@JakeWharton JakeWharton merged commit b656c69 into trunk Sep 9, 2024
6 checks passed
@JakeWharton JakeWharton deleted the jw.cli-compile.2024-09-06 branch September 9, 2024 19:57
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.

2 participants