Package com.diffplug.gradle.swt
Class PlatformSpecificBuildPlugin
- java.lang.Object
-
- com.diffplug.gradle.swt.PlatformSpecificBuildPlugin
-
public class PlatformSpecificBuildPlugin extends Object implements Plugin<Settings>
In order to detect the underlying operating system and architecture, it is necessary to to read various system properties and environment variables, which breaks the Gradle configuration cache. But, if you apply `com.diffplug.configuration-cache-for-platform-specific-build` in your `settings.gradle`, then you can callOS.getRunning()
andOS.getNative()
and behind the scenes it will use the appropriate APIs which don't break the configuration cache.
-
-
Constructor Summary
Constructors Constructor Description PlatformSpecificBuildPlugin()
-