requirePlugin
_console.log("init.build.kts run")
_buildScriptConfig.requirePlugin {
setName("Echo Project Plugin")
setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
setVersion("0.1.0")
}
$console.log("init.build.groovy run")
$buildScriptConfig.requirePlugin {
setName("Echo Project Plugin")
setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
setVersion("0.1.0")
}
$console.log("init.build.js run")
$buildScriptConfig.requirePlugin((component) => {
component.setName("Echo Project Plugin")
component.setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
component.setVersion("0.1.0")
})
_console:log("init.build.lua run")
_buildScriptConfig:requirePlugin(function(component)
component:setName("Echo Project Plugin")
component:setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
component:setVersion("0.1.0")
end)
<?php
$console->log("init.build.php run");
$buildScriptConfig->requirePlugin(function ($component) {
$component->setName("Echo Project Plugin");
$component->setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk");
$component->setVersion("0.1.0");
});
_console.log("init.build.py run")
def fn(component):
component.setName("Echo Project Plugin")
component.setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
component.setVersion("0.1.0")
_buildScriptConfig.requirePlugin(fn)
$console.log("init.build.rb run")
$buildScriptConfig.requirePlugin { |component|
component.setName("Echo Project Plugin")
component.setUrl("https://github.com/m8test/Plugins/releases/download/0.1.0/project-release-unsigned.apk")
component.setVersion("0.1.0")
}
Last modified: 29 April 2025