Generate file for -XX:CompileCommandFile=

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

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

org.caffinitas.gradle.compilecommand
ArtifactId

ArtifactId

org.caffinitas.gradle.compilecommand.gradle.plugin
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

pom
Description

Description

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

Project URL

https://github.com/snazy/gradle-compilecommand/
Source Code Management

Source Code Management

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

Download org.caffinitas.gradle.compilecommand.gradle.plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.caffinitas.gradle.compilecommand/org.caffinitas.gradle.compilecommand.gradle.plugin/ -->
<dependency>
    <groupId>org.caffinitas.gradle.compilecommand</groupId>
    <artifactId>org.caffinitas.gradle.compilecommand.gradle.plugin</artifactId>
    <version>0.1.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.caffinitas.gradle.compilecommand/org.caffinitas.gradle.compilecommand.gradle.plugin/
implementation 'org.caffinitas.gradle.compilecommand:org.caffinitas.gradle.compilecommand.gradle.plugin:0.1.2'
// https://jarcasting.com/artifacts/org.caffinitas.gradle.compilecommand/org.caffinitas.gradle.compilecommand.gradle.plugin/
implementation ("org.caffinitas.gradle.compilecommand:org.caffinitas.gradle.compilecommand.gradle.plugin:0.1.2")
'org.caffinitas.gradle.compilecommand:org.caffinitas.gradle.compilecommand.gradle.plugin:pom:0.1.2'
<dependency org="org.caffinitas.gradle.compilecommand" name="org.caffinitas.gradle.compilecommand.gradle.plugin" rev="0.1.2">
  <artifact name="org.caffinitas.gradle.compilecommand.gradle.plugin" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.caffinitas.gradle.compilecommand', module='org.caffinitas.gradle.compilecommand.gradle.plugin', version='0.1.2')
)
libraryDependencies += "org.caffinitas.gradle.compilecommand" % "org.caffinitas.gradle.compilecommand.gradle.plugin" % "0.1.2"
[org.caffinitas.gradle.compilecommand/org.caffinitas.gradle.compilecommand.gradle.plugin "0.1.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.caffinitas.gradle.compilecommand : gradle-compilecommand jar 0.1.2

Project Modules

There are no modules declared in this project.

Gradle plugin with support for incremental compilation for the compile-command-annotations project

Writes a single output file suitable to be loaded via the -XX:CompileCommandFile=<file> JVM option.

Usage w/ Java projects:

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

compileCommands {
    add {
        outputFile = project.file("conf/hotspot_compiler")
        sourceSet = sourceSets.main
    }
}

The plugin adds the dependency for the compile-command annotation-processor to the compileOnly and annotationProcessor configurations. The default value for that dependency is net.nicoulaj.compile-command-annotations:compile-command-annotations:1.2.3 and can be changed via the property compileCommands.compileCommandsDependency.

See https://github.com/nicoulaj/compile-command-annotations See http://compile-command-annotations.nicoulaj.net/

Versions

Version
0.1.2
0.1.1
0.1