Package com.google.turbine.main
Class Main
- java.lang.Object
-
- com.google.turbine.main.Main
-
public final class Main extends java.lang.ObjectMain entry point for the turbine CLI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMain.ResultThe result of a turbine invocation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Main.Resultcompile(TurbineOptions options)static Main.Resultcompile(java.lang.String[] args)static voidmain(java.lang.String[] args)static voidwriteJdepsForFallback(TurbineOptions options)Writes a jdeps proto that indiciates to Blaze that the transitive classpath compilation failed, and it should fall back to the transitive classpath.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
compile
@CanIgnoreReturnValue public static Main.Result compile(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
compile
@CanIgnoreReturnValue public static Main.Result compile(TurbineOptions options) throws java.io.IOException
- Throws:
java.io.IOException
-
writeJdepsForFallback
public static void writeJdepsForFallback(TurbineOptions options) throws java.io.IOException
Writes a jdeps proto that indiciates to Blaze that the transitive classpath compilation failed, and it should fall back to the transitive classpath. Used only whenTurbineOptions.ReducedClasspathMode.BAZEL_REDUCED.- Throws:
java.io.IOException
-
-