com.xykivo.nativeextension
Owner:
Dror Smolarsky
Extend native plugins
https://github.com/xykivo/tools
Sources: https://github.com/xykivo/tools
Version 0.2.6 (latest)
Created 03 October 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.6 Beta release patch 5
- Add support for custom source sets in a binaries scope.
0.2.5 Beta release patch 5
- Fix an issue that cause pre/post compile/link taks to ignore googl test
executable compile/link
0.2.4 Beta release 2 patch 4
- Fix an issue with copy library dependency task where a directory was created
in the install task output instead of copying the library
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.6"
}
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.6") }
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.6") } } apply(plugin = "com.xykivo.nativeextension")
- Applying plugins to all subprojects .