Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

SourceSetOuptut output directories #10

Open
darylteo opened this issue Dec 21, 2013 · 0 comments
Open

SourceSetOuptut output directories #10

darylteo opened this issue Dec 21, 2013 · 0 comments

Comments

@darylteo
Copy link

Sorry I don't really want to create ANOTHER account on another forum for another bug tracker.

It seems that this integration plugin does not handle SourceSetOutput in the same manner as the Gradle Eclipse Plugin.

SourceSetOutput Referennce

Specifically, outputs directories added to the SourceSetOutput should be added to the compile classpath.

Example from reference:

 sourceSets {
   main {
     //let's register an output folder on the main SourceSet:
     output.dir(generatedResources, builtBy: 'generateMyResources')
     //it is now a part of the 'main' classpath and will be a part of the jar
   }
 }

In the example above, the folder is never added to Gradle Dependencies.

This seems to work as expected in the latest Eclipse Plugin, but this needs to be run on CLI.

Thanks

Edit: just to help narrow things down: this seems related to "Dependency Management". Turning this off makes it use the Eclipse plugin (if applied) and works nicely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant