class NativeUtils extends java.lang.Object
Created by 333fr on 3/1/2017.
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project) |
|
static java.lang.String |
getBaseClassifier(org.gradle.nativeplatform.NativeLibraryBinarySpec binary)Gets the base classifier for a binary. |
|
static java.lang.String |
getClassifier(BuildConfig config)Gets the artifact classifier for a specifc build configuration |
|
static java.lang.String |
getClassifier(org.gradle.nativeplatform.NativeBinarySpec binary)Gets the artifact classifier for a specific binary |
|
static boolean |
getCrossConfigEnabledCmdLine(CrossBuildConfig config, org.gradle.api.Project project) |
|
static java.lang.String |
getDependencyClassifier(org.gradle.nativeplatform.NativeBinarySpec binary, java.lang.String depTypeClassifier)Gets the classifier for a dependency, matching the build type of the binary |
|
static java.lang.String |
getPlatformPath(BuildConfig config)Gets the extraction platform path for the specific build configuration |
|
static java.lang.String |
getPlatformPath(org.gradle.nativeplatform.NativeBinarySpec binary)Gets the extraction platform path for a specific binary |
|
static java.lang.String |
getPublishClassifier(org.gradle.nativeplatform.NativeLibraryBinarySpec binary)Gets the artifact classifier for a specific binary to be published |
|
static java.lang.String |
getToolChainPath(BuildConfig config, org.gradle.api.Project project)Gets the toolChainPath for the specific build configuration |
|
static boolean |
isConfigEnabled(BuildConfig config, org.gradle.api.Project project) |
|
static java.lang.String |
setPlatformSpecificIncludeFlag(java.lang.String loc, org.gradle.nativeplatform.Tool cppCompiler)Sets an include flag in the compiler that is platform specific |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Gets the base classifier for a binary. This does not include the static or build type flags
Gets the artifact classifier for a specifc build configuration
Gets the artifact classifier for a specific binary
Gets the classifier for a dependency, matching the build type of the binary
Gets the extraction platform path for the specific build configuration
Gets the extraction platform path for a specific binary
Gets the artifact classifier for a specific binary to be published
Gets the toolChainPath for the specific build configuration
Sets an include flag in the compiler that is platform specific