Hi all,

I'm seeing this error when I try to generate my idea project using M3:

        ==== 6b59igltjroti5vdk952d5rvvh: tried

          -- artifact com.goodercode#graffiti;1.0-SNAPSHOT!graffiti.jar(source):

          
/Users/user/Documents/workspace/Gojira/lib/graffiti-1.0-SNAPSHOT-sources.jar

          /Users/user/Documents/workspace/Gojira/lib/graffiti-sources.jar

....

* What went wrong:
Execution failed for task ':ideaModule'.
Cause: Could not resolve all dependencies for configuration
'detachedConfiguration2':
    - unresolved dependency: com.goodercode#graffiti;1.0-SNAPSHOT: not found

Note that I'm using flatDir:

repositories {
...
        flatDir(dirs: file('lib'))
}

dependencies {
...
        compile 'com.goodercode:graffiti:1.0-SNAPSHOT'
}

To reproduce:

git clone [email protected]:nvcexploder/Gojira.git
cd Gojira
git reset --hard cb746b7
./gradlew idea

I can fix this if I create a fake sources jar file, e.g.: (git reset
--hard e4ed8f6)

cd lib/
touch fake
zip graffiti-1.0-SNAPSHOT-sources.jar fake
rm fake

Is this a known issue? I haven't read a discussion of this on the mailing list.

Cheers,
Merlyn

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to