textOutput.formatln(" platform: %s", nativeBinary.getTargetPlatform().getName());
textOutput.formatln(" build type: %s", nativeBinary.getBuildType().getName());
textOutput.formatln(" flavor: %s", nativeBinary.getFlavor().getName());
textOutput.formatln(" tool chain: %s", nativeBinary.getToolChain().getDisplayName());
if (binary instanceof NativeExecutableBinarySpec) {
NativeExecutableBinarySpec executableBinary = (NativeExecutableBinarySpec) binary;
textOutput.formatln(" executable file: %s", fileResolver.resolveAsRelativePath(executableBinary.getExecutableFile()));
}
if (binary instanceof NativeTestSuiteBinarySpec) {
NativeTestSuiteBinarySpec executableBinary = (NativeTestSuiteBinarySpec) binary;
textOutput.formatln(" executable file: %s", fileResolver.resolveAsRelativePath(executableBinary.getExecutableFile()));
}
if (binary instanceof SharedLibraryBinarySpec) {
SharedLibraryBinarySpec libraryBinary = (SharedLibraryBinarySpec) binary;
textOutput.formatln(" shared library file: %s", fileResolver.resolveAsRelativePath(libraryBinary.getSharedLibraryFile()));
}