gradle-plugin >= 0.13.x: forbidden 403 when accessing private repo

43 views
Skip to first unread message

Christian Bahl

unread,
Nov 4, 2014, 2:41:50 AM11/4/14
to android-...@googlegroups.com
Hi,

my specs:
Android Studio 0.8.14 (also with 0.9)
Gradle 2.1
gradle-plugin >= 0.13.x

I´ve a private maven repo declared in my build.gradle. Before gradle-plugin 0.13.x and above all worked perfect but since 0.13.x
when i want to access this repo i always get an forbidden error. does anyone have the same problem. here is my snippet from build.gradle

repositories {
    maven {
    }
}

i also tested this variant but this didn´t work too

repositories {
    maven {
      url 'https://example.com'
      credentials {
        username 'username'
        password 'password'
      }
    }
}

the first snippet works well with gradle-plugin 0.12.x but since the newer versions it didn´t work anymore. may there be a bug in Gradle >= 2.x because
gradle-plugin (>=0.13.x) relies on Gradle 2

Thx
Christian

Marcus Smith

unread,
Feb 16, 2015, 6:17:20 AM2/16/15
to android-...@googlegroups.com
Did you find a solution to this issue? We finally need to upgrade and this has been a show stopper for us.

Thx 

Marcus


On Tuesday, November 4, 2014 at 7:41:50 AM UTC, Christian Bahl wrote:
Hi,

my specs:
Android Studio 0.8.14 (also with 0.9)
Gradle 2.1
gradle-plugin >= 0.13.x

I´ve a private maven repo declared in my build.gradle. Before gradle-plugin 0.13.x and above all worked perfect but since 0.13.x
when i want to access this repo i always get an forbidden error. does anyone have the same problem. here is my snippet from build.gradle

repositories {
    maven {
    }
Reply all
Reply to author
Forward
0 new messages