Skip to content
Snippets Groups Projects
Commit 01207fde authored by Daniel Stonier's avatar Daniel Stonier
Browse files

required the osgi plugin as well for jar construction

parent 6c08e541
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,12 @@ class RosJavaPlugin implements Plugin<Project> {
def void apply(Project project) {
this.project = project
if (!project.plugins.findPlugin('java')) {
project.apply(plugin: org.gradle.api.plugins.JavaPlugin)
project.apply(plugin: 'java')
}
if (!project.plugins.findPlugin('osgi')) {
project.apply(plugin: 'osgi')
}
project.sourceCompatibility = 1.6
project.targetCompatibility = 1.6
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment