The gradle tooling api allows to integrate the frege gradle plugin with the frege language server. The fregeProjectInfo class exposes the mainSourceDir extension property and the classpath of the configured frege project.
The Frege language server can then use the custom frege model to query the build.gradle file for the two exposed variables.
This means, that if you use the frege gradle plugin to set up your frege project, then the frege language server is automatically configured as well because it reuses the config!
The gradle tooling api allows to integrate the frege gradle plugin with the frege language server. The
fregeProjectInfo
class exposes themainSourceDir
extension property and the classpath of the configured frege project.The Frege language server can then use the custom frege model to query the build.gradle file for the two exposed variables.
This means, that if you use the frege gradle plugin to set up your frege project, then the frege language server is automatically configured as well because it reuses the config!