- clone repo
- Open a terminal (or command prompt) in your project directory and run the command:
If you are using Windows, replace ./gradlew with gradlew.bat. This command will build the project and create a JAR file in the build/libs directory of your project.
./gradlew build
- add code below to your build.gradle.kts:
tasks.withType<KotlinCompile> { compilerOptions { freeCompilerArgs.add("-Xplugin=${project.rootDir}/build/libs/comp_plugin-1.0-SNAPSHOT.jar") } }