Search Gradle plugins

org.caffinitas.gradle.compilecommand

Generate a file suitable for -XX:CompileCommandFile= using net.nicoulaj.compile-command-annotations:compile-command-annotations

https://github.com/snazy/gradle-compilecommand/

Sources: https://github.com/snazy/gradle-compilecommand/

Version 0.1.2 (latest)

Created 03 June 2020.

Generate a file suitable for -XX:CompileCommandFile= using net.nicoulaj.compile-command-annotations:compile-command-annotations

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.caffinitas.gradle.compilecommand") version "0.1.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.caffinitas.gradle.compilecommand:org.caffinitas.gradle.compilecommand.gradle.plugin:0.1.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.caffinitas.gradle.compilecommand")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.caffinitas.gradle.compilecommand:org.caffinitas.gradle.compilecommand.gradle.plugin:0.1.2")
      }
    }
    
    apply(plugin = "org.caffinitas.gradle.compilecommand")
  • Applying plugins to all subprojects .