-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
[sdkman] config seems to be ignored explicitly set key/token values #737
Comments
Did you define |
Ah yes I defined it inside the My distributions block is fairly sparse:
|
I can confirm that the |
Apologies, I am still seeing this issue with M2, so I have to keep my sdkman configuration disabled for now. Let me know if you want to re-open this bug for if I should create a new one. See relevant declaration in my build.gradle: https://github.com/varabyte/kobweb/blob/609f0de11dd9fc0b6df213a600d8ecc8fcedbc16/cli/kobweb/build.gradle.kts#L105 If I'm putting my package manager declarations in the wrong place, let me know! |
I think the problem may be that the I can conform that values set at |
Just in case, if you want repro steps:
Remove the "-SNAPSHOT" suffix from the
Next, go to the CLI subdirectory:
Edit the build.gradle.kts file, changing these lines around L102:
Finally, back in the terminal:
|
My config, with some debugging printlns added:
Output:
The error message includes instructions for other ways to set the key and value, so I probably won't be blocked, but this strikes me as a mistake? Since according to the error message itself as well as the docs, it says for the key and token properties
// If left unspecified, ...
Expected:
Setting consumeKey and consumerToken directly should be supported or the documentation / error messages should be updated to match.
The text was updated successfully, but these errors were encountered: