com.xykivo.nativeextension
Owner: Dror Smolarsky
Extend native plugins
https://github.com/xykivo/tools
Sources: https://github.com/xykivo/tools
Version 0.2.1
Created 25 August 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.0 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.1"
}
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.1") }
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.1") } } apply(plugin = "com.xykivo.nativeextension")
- Applying plugins to all subprojects .