Gradle convention plugins used by Sava projects.
To modify and test the convention plugins on a project using them, insert the line
pluginManagement { includeBuild("<path-to-hiero-gradle-conventions>") }
in the top of the settings.gradle.kts
of the project.
For example, if this repository is cloned next to the project repository in
your local file system, the first line in your settings.gradle.kts
would be:
pluginManagement { includeBuild("../sava-build") }
After inserting that line, reload the project in IntelliJ. sava-build
will show up next to your project in the workspace.
You can now make changes to the files in src/main/kotlin.
Generate a classic token with the read:packages
scope needed to access
dependencies hosted on GitHub Package Repository.
Add the following properties to $HOME/.gradle/gradle.properties
.
savaGithubPackagesUsername=GITHUB_USERNAME
savaGithubPackagesPassword=GITHUB_TOKEN
./gradlew check