Template for an Aliucord plugin repo
- Java JDK 11 or newer. OpenJDK recommended
- Android Studio
This template includes an example plugin written in Kotlin and Java, demonstrating how to implement a command and patches.
To set up your development environment:
- Clone this repository to your local machine.
- Open the cloned repository in Android Studio.
- Open the gradle build script at plugin/build.gradle.kts, read the comments and replace all the placeholders
- Familiarize yourself with the project structure. Most files are commented
To build and deploy your plugin:
- On Linux & Mac, run
./gradlew MyFirstKotlinPlugin:make
to build the plugin. Use./gradlew MyFirstKotlinPlugin:deployWithAdb
to deploy directly to a connected device. - On Windows, use
.\gradlew.bat MyFirstKotlinPlugin:make
and.\gradlew.bat MyFirstKotlinPlugin:deployWithAdb
for building and deploying, respectively.
Everything in this repo is released into the public domain. You may use it however you want with no conditions whatsoever