gradle-executable-jar-plugin icon indicating copy to clipboard operation
gradle-executable-jar-plugin copied to clipboard

Should not add SourceForge as a repository

Open stigkj opened this issue 13 years ago • 4 comments

This can severly affect build time, so should be something the programmer decides on when setting up the build

stigkj avatar Dec 12 '11 11:12 stigkj

Before solving #5, the best that can be done is to only add the repository when the default version of One-JAR is used

stigkj avatar Dec 12 '11 11:12 stigkj

A better implementation of only adding the repository when the default version of One-JAR is used is done for GH-7

stigkj avatar Jan 02 '12 21:01 stigkj

Hi,

Any progress on this issue? Is see some code related to this in the repository but it is unclear to me if it works or how it should be used. Disabling the SourceForge repository is really important for us since our build environment is not allowed access to the internet.

regards,

P.S.

Love the plugin so far btw :-)

wernsen avatar Oct 22 '12 13:10 wernsen

@wernsen Sorry for the late answer! Not sure if you have found out, but if you define your own dependency on One-JAR, SourceForge will not be used for downloading the dependency. I guess you have a Maven repo inhouse? Just upload a One-JAR version to this and specify a dependency to this version in the build with scope 'executableJar'.

stigkj avatar Dec 24 '13 12:12 stigkj