diff options
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -36,6 +36,20 @@ Optional configuration parameters inside `build.gradle`: - **compileFrege**: All your `*.fr` files in `mainSourceDir` get compiled to `outputDir`. - **runFrege**: Runs the Frege module specified by `mainModule`. Alternatively you can also pass the main module by command line, e.g: `gradle runFrege --mainModule=my.mod.Name`. +### Compile Dependencies + +Compile dependencies can be configured as expected in your `build.gradle` file, using the `implementation` scope, e.g.: + +```groovy +repositories { + # Add your Frege repo here +} + +dependencies { + implementation 'org.frege-lang:fregefx:0.8.2-SNAPSHOT' +} +``` + ### Build Cache The `compileFrege` task supports incremental builds from build cache. Enable the build cache by setting `org.gradle.caching=true` in your `gradle.properites`. |