-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] gradlew support #200
Comments
i am wondering if this code is expecting to find an executable named gradle in the working directory
if thats the case; this will not work with projects with a wrapper; as the wrapper is in a folder named gradle. |
An example for this could be created by going to making sure to select gradle (or maven if you want to prove that out as well; it comes with a wrapper). |
Overall thanks to the community; on the gradle plugin, you have already fixed an issue for me :) |
Yeah that does look promising. |
@bguedel I got a chance to test this morning, had to make some changes, but it looks like it's working now. I will go ahead and merge it, if you can give it a test! |
🎉 This issue has been resolved in version 1.0.26 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
GET OUT OF MY HEAD @brent-spiner |
@DarthHater Looks like it didnt solve it on my end. |
Interesting! What it's doing is checking to see if the command exists, do you have a |
Interesting. VS Code uses it's own interactive shell, so maybe in that shell there is an alias or something akin? I just pushed up another commit to |
@bguedel there will be a new version released soonish that has logging implemented for the Set it to |
sure can we "unclose" this issue so that its not lost in the wrong tab? |
{
"startTime": "2021-04-16T19:47:32.378Z",
"categoryName": "sonatypeIQ",
"data": ["Starting to Munch on GradleDependencies dependencies"],
"level": {
"level": 20000,
"levelStr": "INFO",
"colour": "green"
},
"context": {},
"pid": 26473
}, {
"startTime": "2021-04-16T19:47:32.378Z",
"categoryName": "sonatypeIQ",
"data": ["Starting to attempt to get gradle dependencies"],
"level": {
"level": 10000,
"levelStr": "DEBUG",
"colour": "cyan"
},
"context": {},
"pid": 26473
}, {
"startTime": "2021-04-16T19:47:32.379Z",
"categoryName": "sonatypeIQ",
"data": ["Does gradle exist as a command?", true],
"level": {
"level": 10000,
"levelStr": "DEBUG",
"colour": "cyan"
},
"context": {},
"pid": 26473
}, {
"startTime": "2021-04-16T19:47:32.379Z",
"categoryName": "sonatypeIQ",
"data": ["Set gradle Command Base Command", "gradle"],
"level": {
"level": 20000,
"levelStr": "INFO",
"colour": "green"
},
"context": {},
"pid": 26473
}, {
"startTime": "2021-04-16T19:47:32.379Z",
"categoryName": "sonatypeIQ",
"data": ["Full gradle command constructed", "gradle dependencies --configuration runtimeClasspath"],
"level": {
"level": 20000,
"levelStr": "INFO",
"colour": "green"
},
"context": {},
"pid": 26473
}, {
"startTime": "2021-04-16T19:47:32.380Z",
"categoryName": "sonatypeIQ",
"data": ["Attempting to run gradle command", "gradle dependencies --configuration runtimeClasspath"],
"level": {
"level": 10000,
"levelStr": "DEBUG",
"colour": "cyan"
},
"context": {},
"pid": 26473
} |
WILD, so it is finding a |
Yeah. A little more debugging on my side and I was right.
I renamed the gradle folder to gradlez {"startTime":"2021-04-16T19:55:18.853Z","categoryName":"sonatypeIQ","data":["Does gradle exist as a command?",false],"level":{"level":10000,"levelStr":"DEBUG","colour":"cyan"},"context":{},"pid":26473},
{"startTime":"2021-04-16T19:55:18.853Z","categoryName":"sonatypeIQ","data":["Operating system determination","darwin"],"level":{"level":20000,"levelStr":"INFO","colour":"green"},"context":{},"pid":26473},
{"startTime":"2021-04-16T19:55:18.854Z","categoryName":"sonatypeIQ","data":["Set gradle Command Base Command","./gradlew"],"level":{"level":20000,"levelStr":"INFO","colour":"green"},"context":{},"pid":26473},
|
but then it fails b/c the wrapper tries to call the jar that is in :( |
That is wild, that means the library I'm using is hilariously bad. I'll cook something better up tomorrow, everything worked fine for me locally on OS X, but I am not a gradle power user. I was using the |
Hey @DarthHater, Any updates on getting a new version in with a better library? |
@bguedel I had to do a quick trip from Seattle to Alaska via car and it kinda knocked me out of commission, I'm going to look at this a bit more today! |
@bguedel - can you check if you still have these issues with version Thanks FYI @DarthHater / @bhamail |
Run nexusiq from a gradle built project
Normal project related development
Support gradle in the project directory
./gradlew
Related Add Gradle support #67 is to ask for gradle support but its most common to have have "gradle" installed but to actually have the wrapper in the project. Often enough people would be working on many projects some of which are not on the same version and thus the gradle wrapper.
It should be noted that I have also tried creating a symlink in my own
~/bin
to gradlew named gradle but that is not working.ln -s "./gradlew" gradle
running in my project
cc @bhamail / @DarthHater
The text was updated successfully, but these errors were encountered: