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
{{ message }}
Repository navigation
feature: Add credentials to @file:MavenRepository #143
I'd also think that credentials should better go into config file as described above, but it would be a technically easy to extend the annotation to accept credentials. Doing so would also help to see if #49 could provide a better solution for dependency resolution.
Activity
holgerbrandl commentedon Jul 28, 2018
Is there a public maven repo with credentials support which we could use for testing?
MikeMitterer commentedon Jul 31, 2018
Not that I know - can I test something for you?
holgerbrandl commentedon Aug 17, 2018
Could you provide an example how the corresponding maven should look like? Currently we simply create them as:
See https://github.com/holgerbrandl/kscript/blob/d6e5e87462d8d86dca62e1a9894b7cb457fcaa46/src/main/kotlin/kscript/app/DependencyUtil.kt#L56
We still need to find a way to unit-test it, otherwise it may break in the future.
holgerbrandl commentedon Oct 15, 2018
I'd also think that credentials should better go into config file as described above, but it would be a technically easy to extend the annotation to accept credentials. Doing so would also help to see if #49 could provide a better solution for dependency resolution.
@ligee Are you planning to add credential support to
@file:Repositoryas used in https://github.com/Kotlin/KEEP/blob/master/proposals/scripting-support.md#script-with-maven-dependencies-resolving-support ?ligee commentedon Oct 19, 2018
@holgerbrandl I guess that should be addressed in Kotlin scripting at some point. I created an issue to track it https://youtrack.jetbrains.com/issue/KT-27701.