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

gradle-compilecommand
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

pom.sha512
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 gradle-compilecommand

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

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