You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When running draft create on the following repo, draft prompts for gradle or maven https://github.com/codecov/example-java-gradle
[Draft] --- Detecting Language ---
Use the arrow keys to navigate: ↓ ↑ → ←
? Linguist detected Java, are you using maven or gradle?:
> gradle
maven
Mention what platform you want to support the new feature
OSS
Describe the solution you'd like
Draft should detect the *.gradle files in a repository to determine if gradle is used.
Describe alternatives you've considered
A better method for detecting gradle or maven could be used. The build files are the best way I could determine.
Additional context
(none)
The text was updated successfully, but these errors were encountered:
@msftph Thanks for raising this request. Are you requesting for draft to detect the languages looking at the files like *.gradle or pom.xml and auto assume without asking the user for confirmation? for ex: ````are you using maven or Gradle ? ``` part. If that's the case, we can actually do it, but I need to consult with my team if that's okay.
if file contains pom.xml then
language = maven
else if file contains *.gradle then
if a folder contains gradle/wrapper and it is not empty then
language = gradlew
else
language = gradle
else
"ask the user to select" ?
Is your feature request related to a problem? Please describe.
When running
draft create
on the following repo, draft prompts for gradle or maven https://github.com/codecov/example-java-gradleMention what platform you want to support the new feature
OSS
Describe the solution you'd like
Draft should detect the *.gradle files in a repository to determine if gradle is used.
Describe alternatives you've considered
A better method for detecting gradle or maven could be used. The build files are the best way I could determine.
Additional context
(none)
The text was updated successfully, but these errors were encountered: