- Open the root build.gradle.kts file and replace all placeholders.
- Open the build.gradle.kts file inside the
plugins/ExamplePluginfolder to modify your plugin metadata. - Build your plugin using the appropriate command:
- Windows:
.\gradlew.bat :plugins:ExamplePlugin:make - Linux and MacOS:
./gradlew :plugins:ExamplePlugin:make
- Windows:
To significantly speed up your builds on GitHub Actions, you need to add a secret key:
- Go to your repository Settings.
- Navigate to Secrets and variables > Actions.
- Click on New repository secret.
- Set the Name to
GRADLE_ENCRYPTION_KEY. - Set the Secret to a Base64-encoded AES key. You can generate one using the following command:
openssl rand -base64 16. - Click on Add secret.
- Done!
See the Aliucord documentation.