Speaking of resolvers, can I use BOMs in *.main.kt...
# scripting
m
Speaking of resolvers, can I use BOMs in *.main.kts file ? Something like
Copy code
@file:DependsOn("com.google.cloud:libraries-bom:16.3.0")
@file:DependsOn("com.google.cloud:google-cloud-speech")
Looks like I can't but I'm curious if there's a way to make this work?
l
When not using main.kts (using an alternative script-runner that is), I get this:
Copy code
File 'com.google.cloud:libraries-bom:16.3.0' not found
  org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact com.google.cloud:libraries-bom:jar:16.3.0 in maven central (<https://repo.maven.apache.org/maven2/>)
It might not be in central?
m
I think it is, let me check
But it's only a pom file so the resolver might not like that
l
yeah, it looks for a jar it seems