We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow build to run even when biz.aQute.bnd.builder plugin is not available.
biz.aQute.bnd.builder
if (System.getenv('BINTRAY_USER')) { apply plugin: 'biz.aQute.bnd.builder' } else { try { // only apply if available Class.forName('aQute.bnd.gradle.BndPlugin'); Class.forName('aQute.bnd.build.Project'); apply plugin: 'biz.aQute.bnd.builder' } catch (Throwable ignored) {} } pluginManager.withPlugin('biz.aQute.bnd.builder') { apply plugin: 'biz.aQute.bnd.builder' configurations { bundleCompile baseline } dependencies { baseline('group': group, 'name': jar.baseName, 'version': "(,${jar.version}[") { force = true transitive = false } } sourceSets { bundle } task bundle(type: Bundle) { from sourceSets.bundle.output bndfile = 'bnd.bnd' sourceSet = sourceSets.bundle } }
The text was updated successfully, but these errors were encountered:
783061f
No branches or pull requests
Allow build to run even when
biz.aQute.bnd.builder
plugin is not available.The text was updated successfully, but these errors were encountered: