463462 - Exposes Bundlor inputPath to be able to overwrite default "project.sourceSets.main.output.classesDir" which does *not* consider resources
diff --git a/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPlugin.groovy b/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPlugin.groovy
index d25e728..41f140a 100644
--- a/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPlugin.groovy
+++ b/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPlugin.groovy
@@ -31,6 +31,7 @@
     public void apply(Project project) {
         project.extensions.create("bundlor", BundlorPluginExtension)
         project.bundlor.with {
+            inputPath = project.sourceSets.main.output.classesDir
             outputDir = new File("${project.buildDir}/bundlor")
             propertiesPath = project.rootProject.file('gradle.properties')
             bundleVersion = project.version
@@ -107,7 +108,7 @@
                 // execute the ant task, and write out the manifest file
                 project.ant.bundlor(
                         enabled: project.bundlor.enabled,
-                        inputPath: project.sourceSets.main.output.classesDir,
+                        inputPath: project.bundlor.inputPath,
                         propertiesPath: project.bundlor.propertiesPath,
                         outputPath: project.bundlor.outputDir,
                         bundleVersion: project.bundlor.bundleVersion,
diff --git a/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPluginExtension.groovy b/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPluginExtension.groovy
index 39acb11..0accba8 100644
--- a/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPluginExtension.groovy
+++ b/org.eclipse.virgo.bundlor.gradle/bundlor-plugin/src/main/groovy/org/eclipse/virgo/bundlor/BundlorPluginExtension.groovy
@@ -23,5 +23,6 @@
     List excludedImports = []
     List excludedExports = []
 
+    File inputPath
     File outputDir
 }