How to compile and run a kotlin file which has dependencies on a jar from CLI?

前端 未结 0 1207
渐次进展
渐次进展 2021-01-22 07:31

I have a file called A.kt which has dependencies on B.jar. How to compile and run the kotlin file on CLI?

I have tried:

kotlinc A.kt -cp B.jar
相关标签:
回答
  • 消灭零回复
提交回复
热议问题