Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not get https:////dl.bintray.com/lukaville/maven/com/nbsp/library/1.09

I am getting an error as shown below.

Could not GET 'https://dl.bintray.com/lukaville/maven/com/nbsp/library/1.09/library-1.09.pom'. Received status code 403 from server: Forbidden

The Gradle configurations are shown below. Any help is appreciated.

I tried syncing the project, invalidate cache and restart, but nothing is working.

build.gradle(:app)

apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    defaultConfig {
        applicationId "com.qdocs.smartschool"
        minSdkVersion 17
        targetSdkVersion 29
        versionCode 1
        versionName "3.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    lintOptions {
        disable 'RestrictedApi'
        checkReleaseBuilds false
        abortOnError false
    }

}

repositories {
    maven {
        url "http://d1.bintray.com/lukaville/maven"
    }
    jcenter() } dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.0.0'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
    testImplementation 'junit:junit:4.12'
    implementation 'com.jakewharton.threetenabp:threetenabp:1.2.1'
    androidTestImplementation 'androidx.test:runner:1.1.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
    implementation 'de.hdodenhof:circleimageview:2.2.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'com.mindorks:paracamera:0.2.2'
    implementation 'com.android.volley:volley:1.1.0'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.google.firebase:firebase-messaging:11.0.4'
    implementation "com.squareup.okhttp3:okhttp:3.3.1"
    implementation 'com.nbsp:library:1.09'

} apply plugin: 'com.google.gms.google-services'

build.gradle(android_app_src)

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    
    repositories {
        google()
        jcenter()

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.3.1'
        classpath 'com.google.gms:google-services:3.2.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url  "https://dl.bintray.com/lukaville/maven"
        }

    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
like image 597
Bright Varghese Avatar asked Jun 02 '21 11:06

Bright Varghese


1 Answers

JFrog have shut down Bintray. You need to move to an alternative.

See some articles providing examples of changes needed.

  • https://www.infoq.com/news/2021/02/jfrog-jcenter-bintray-closure/
  • https://testfairy.com/blog/jcenter-and-bintray-is-shutting-down-what-to-do/

You can also read the official JFrog blog on this.

like image 64
Eldad Assis Avatar answered Oct 12 '22 14:10

Eldad Assis