Skip to content

Instantly share code, notes, and snippets.

@dlew
Created July 11, 2015 12:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlew/9fd280bbc057af800213 to your computer and use it in GitHub Desktop.
Save dlew/9fd280bbc057af800213 to your computer and use it in GitHub Desktop.
/**
* Returns the Java Compilation task if javac was configured to compile the source files.
* @deprecated prefer {@link #getJavaCompiler} which always return the java compiler task
* irrespective of which tool chain (javac or jack) used.
*/
@Nullable
@Deprecated
JavaCompile getJavaCompile() throws IllegalStateException;
/**
* Returns the Java Compiler task which can be either javac or jack depending on the project
* configuration.
*/
@NonNull
AbstractCompile getJavaCompiler();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment