Skip to content

nwokafor-choongsaeng/scala-compiler-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala-compiler-plugin

Dependencies required to start building a compiler plugin for scala 2.13.

  • org.scala-lang:scala-compiler:2.13
  • org.scala-lang:scala-reflect:2.13

Using 3rd party libraries

Using dependencies (3rd party libraries from a remote repo) in your compiler plugin is tricky. The reason this is complicated is that the dependencies are not included as part of your plugin. You have the reponsiblity of ensuring that the dependencies are available on the classpath where your plugin lives before it runs.

The way I solved this now is to use a fat jar. With a fat jar, the dependencies are included as part of your plugin.

About

scala compiler plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages