Skip to content

Goooler/gradle-legacy-osgi-plugin

 
 

Repository files navigation

A replacement for deprecated Gradle 5 osgi plugin

Maven Central Sonatype Nexus (Snapshots) Plugin Portal Main License

osgi plugin has been removed from Gradle core plugins since Gradle 6, yet some builds still depend on it.

This repo extracts the legacy osgi plugin (and unit test) from Gradle 5.6.4 source code.

If you're still using the deprecated osgi Gradle plugin in Gradle 6, you can use this plugin (io.github.goooler.osgi) as an option, this is a fork of blindpirate/gradle-legacy-osgi-plugin, thanks for contributions of original authors.

How to use

Just replace the original apply plugin: 'osgi' with apply plugin: 'io.github.goooler.osgi', or

plugins {
    id("io.github.goooler.osgi") version "0.8.2"
}