Skip to content

dimaStepul/kotlin-complier-plugin

Repository files navigation

silver-octo-couscous

usage

  • clone repo
  • Open a terminal (or command prompt) in your project directory and run the command:
    ./gradlew build
    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.
  • 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")
      }
    }  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages