https://kotlinlang.org logo
#scripting
Title
# scripting
h

holgerbrandl

10/07/2020, 8:43 PM
Hi there, how can I add jcenter to CompoundDependenciesResolver? I guess via resolver.addRepository() but I can't figure out how to so do and could not yet find any example.
i

ilya.chernikov

10/08/2020, 9:06 AM
This is the place where the
@Repository
annotations are handled, you can see the example of using
addRepository
there - https://github.com/JetBrains/kotlin/blob/master/libraries/scripting/dependencies/src/kotlin/script/experimental/dependencies/annotations.kt#L47
2 Views