public class ExternalNativeBuildTaskUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOM_FORK_CMAKE_VERSION |
| Constructor and Description |
|---|
ExternalNativeBuildTaskUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
fileIsUpToDate(java.io.File source,
java.io.File derived)
File 'derived' is consider to depend on the contents of file 'source' this function return
true if source is more recent than derived.
|
static java.io.File |
getJsonMiniConfigFile(java.io.File originalJson)
The json mini-config file contains a subset of the regular json file that is much smaller and
less memory-intensive to read.
|
static java.util.List<java.io.File> |
getOutputJsons(java.io.File jsonFolder,
java.util.Collection<java.lang.String> abis) |
public static final java.lang.String CUSTOM_FORK_CMAKE_VERSION
public static boolean fileIsUpToDate(@NonNull
java.io.File source,
@NonNull
java.io.File derived)
throws java.io.IOException
If derived doesn't exist then it is not consider to be up-to-date with respect to source.
source - -- original file (must exist)derived - -- derived filejava.io.IOException - if there was a problem reading the timestamp of one of the files@NonNull
public static java.io.File getJsonMiniConfigFile(@NonNull
java.io.File originalJson)
@NonNull
public static java.util.List<java.io.File> getOutputJsons(@NonNull
java.io.File jsonFolder,
@NonNull
java.util.Collection<java.lang.String> abis)