org.gradle.platform.base.internal.toolchain.ToolProvider Java Examples
The following examples show how to use
org.gradle.platform.base.internal.toolchain.ToolProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultJavaToolChain.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
public ToolProvider select(JavaPlatform targetPlatform) { // TODO:DAZ Remove all of the calls to this method with null platform if (targetPlatform != null && targetPlatform.getTargetCompatibility().compareTo(javaVersion) > 0) { return new UnavailableToolProvider(targetPlatform); } return new JavaToolProvider(); }
Example #2
Source File: DefaultJavaToolChain.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
public ToolProvider select(JavaPlatform targetPlatform) { // TODO:DAZ Remove all of the calls to this method with null platform if (targetPlatform != null && targetPlatform.getTargetCompatibility().compareTo(javaVersion) > 0) { return new UnavailableToolProvider(targetPlatform); } return new JavaToolProvider(); }
Example #3
Source File: ErrorProneToolChain.java From gradle-errorprone-plugin-v0.0.x with Apache License 2.0 | 5 votes |
@Override public ToolProvider select(JavaPlatform targetPlatform) { if (targetPlatform != null && targetPlatform.getTargetCompatibility().compareTo(javaVersion) > 0) { return new UnavailableToolProvider(targetPlatform); } return new JavaToolProvider(); }