modifier

package
v0.0.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: Apache-2.0, NCSA Imports: 7 Imported by: 3

Documentation

Overview

Package modifier provides a library for adding a forked javac executable into a build.gradle file or pom.xml file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreProcessBuildGradle

func PreProcessBuildGradle(buildGradleFile, javacWrapper string) error

PreProcessBuildGradle takes a build.gradle file and either verifies that it already has the bits necessary to run kythe's javac wrapper, or adds that functionality.

Note this potentially modifies the input file, so make a copy beforehand if you need to keep the original.

func PreProcessPomXML

func PreProcessPomXML(pomXMLFile string) error

PreProcessPomXML takes a pom.xml file and either verifies that it already has the bits necessary to specify a separate compiler on commandline, or adds functionality by dropping in a maven-compiler-plugin to the build.

Note this potentially overwrites the input file, even if it returns an error, so make a copy beforehand if you need to keep the original.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL