Adding Dependencies¶
To add a dependency:
- Modify the
gradle/libs.versions.tomlfile and add the dependency to the correct section (or create a new section).\ Consult the Gradle documentation for more information on thelibs.versions.tomlfile format. - Also mention the dependency in
example/build.gradle.kts. - If the dependency is a Spoofax dependency (a library, application, or language that is part of Spoofax), also add the dependency to
platform/build.gradle.kts.