Owner:
Dror Smolarsky
Version 0.2.3
Created 14 September 2015.
Extension to gradle native plugins This plugin extends the gradle plugins for native code, it adds the following - Copy shared libraries depenencies with apu linkage as part of executable install - Add pre/post compile tasks - Add pre/post link tasks - Add pre/post install tasks Limitations - Requires gradle version 2.6 - For the pluing to work correctly the shared library and executable must have the same variants Versions 0.2.3 Beta release 2 patch 3 - Fix an issue that caused the copy library dependency tasks to not execute when the component name had capital letters. 0.2.2 Beta release 2 patch 2 - Add support for google test executables - google test executables are treated as normal executables 0.2.1 Beta release 2 patch 1 - Fix an issue that prevent using the native extension plugin with the google-test plugin - Minor documentation fix 0.2.0 Beta release 2 - Remove copy library dependency for shared linkage, since it's handled by the native plugin 0.1.1 Beta release patch 1 - Minor fix to plugin description 0.1.0 Beta release 0.0.0 Development test
Add this plugin to your build using the plugins DSL:
plugins {
id("com.xykivo.nativeextension") version "0.2.3"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.xykivo.nativeextension:com.xykivo.nativeextension.gradle.plugin:0.2.3") }It can then be applied in the precompiled script plugin:plugins { id("com.xykivo.nativeextension") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.xykivo.nativeextension:com.xykivo.nativeextension.gradle.plugin:0.2.3") } } apply(plugin = "com.xykivo.nativeextension") - Applying plugins to all subprojects .