Apply from: from svn with authentication

Hello,

I’m trying to use common build files for builds of the same patterns (e.g. Java projects) and I’m trying to access the common.build.gradle via http request.

apply from: “http://server/Java/common.build.gradle” As you may guess, I’m getting a 401 http error :slight_smile:

I’m not able to make this file read only to everyone, since I’m using ldap authentification on the svn server.

greetings

This doesn’t directly answer your question, but could you use svn externals to point to that common.build.gradle file?

svn propset svn:externals 'common.build.gradle http://server/Java/common.build.gradle' .

And then ‘apply from’ the local file?