Skip to content

Add build tool fallbacks for tasks#213

Merged
tartarughina merged 1 commit intozed-extensions:mainfrom
mweirauch:add-build-tool-fallbacks
Mar 14, 2026
Merged

Add build tool fallbacks for tasks#213
tartarughina merged 1 commit intozed-extensions:mainfrom
mweirauch:add-build-tool-fallbacks

Conversation

@mweirauch
Copy link
Contributor

@mweirauch mweirauch commented Mar 13, 2026

This adds mvn and gradle fallbacks for projects where no Maven Wrapper or Gradle Wrapper is present.

This was tested with 5 simple test projects. (mvn, mvnw, gradle, gradle-kts, gradlew each with a main class, a test class and inner tests)

I took the liberty to adjust the message when no build tooling is found from "No build system found" to "No build tool found" as these are rather tools than complete "build systems".

EDIT: Updated to support Kotlin DSL (build.gradle.kts) based projects.

@cla-bot
Copy link

cla-bot bot commented Mar 13, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @mweirauch on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@mweirauch
Copy link
Contributor Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Mar 13, 2026
@cla-bot
Copy link

cla-bot bot commented Mar 13, 2026

The cla-bot has been summoned, and re-checked this pull request!

This also changes gradle project detection to check for `build.gradle`
and `build.gradle.kts` instead of `gradlew` in the first place.
@mweirauch mweirauch force-pushed the add-build-tool-fallbacks branch from 1f37273 to 84bd7a9 Compare March 14, 2026 12:32
@tartarughina
Copy link
Collaborator

Thanks for these improvements and the addition of Gradle Kotlin

@tartarughina tartarughina merged commit edd3d67 into zed-extensions:main Mar 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants