SwatiS
SwatiS

Reputation: 51

Plugin with id 'osgi' not found

I am trying to build a project(https://github.com/fge/btf) locally using gradle. There is a plugin "osgi" being used but whenever I build it, I get the error plugin not found. I have tried giving different flavors of OSGi, added the repositories and dependency. Still getting the same error. Please help. Thanks in advance.

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

BUILD FAILED in 1s Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings

logs generated are as below

Upvotes: 5

Views: 2702

Answers (1)

BJ Hargrave
BJ Hargrave

Reputation: 9384

Gradle has discontinued their built-in osgi plugin. Please see the Bnd Gradle plugins.

https://github.com/bndtools/bnd/blob/master/biz.aQute.bnd.gradle/README.md#replacing-use-of-gradles-deprecated-osgi-plugin

Upvotes: 2

Related Questions