Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Include source jar in dependencies #448

Open
ethauvin opened this issue Jun 1, 2017 · 0 comments
Open

Include source jar in dependencies #448

ethauvin opened this issue Jun 1, 2017 · 0 comments

Comments

@ethauvin
Copy link
Collaborator

ethauvin commented Jun 1, 2017

Implement support for including a package source jar in the dependencies, for example:

compileOnly 'pircbot:pircbot::sources:1.5.0'

which fails with:

*****
***** ERROR Error: Could not find artifact pircbot:pircbot:1.5.0:sources in Maven (http://repo1.maven.org/maven2/)
*****

Resolving does currently work:

``` $ k --resolve pircbot:pircbot::sources:1.5.0
              __ __           __              __   __
             / //_/  ____    / /_   ____ _   / /  / /_
            / ,<    / __ \  / __ \ / __ `/  / /  / __/
           / /| |  / /_/ / / /_/ // /_/ /  / /  / /_
          /_/ |_|  \____/ /_.___/ \__,_/  /_/   \__/  1.0.86

  Regular compilation time: 3558 ms
Downloaded artifact pircbot:pircbot:jar:sources:1.5.0 from Maven (http://repo1.maven.org/maven2/, default, releases+snapshots)
╔═════════════════════════════════════════════════════════════════════════════════════════╗
║                                 pircbot:pircbot:jar:sources:1.5.0                       ║
║                Maven (http://repo1.maven.org/maven2/, default, releases+snapshots)      ║
║           C:\Users\Cedric\.kobalt\cache\pircbot\pircbot\1.5.0\pircbot-1.5.0-sources.jar ║
╚═════════════════════════════════════════════════════════════════════════════════════════╝```
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant