Search code examples
androidgradlejcenter

Unable to access Jcenter artifacts Android Studio


I pushed an artifact file to Jcenter via Bintray. The artifact has been published as confirmed by searching the artifact on Jcenter repo. However I am unable to access that artifact in my apps via gradle.

Here is the project repo link: https://bintray.com/alfjam/maven/tickerupdate5/view

apply plugin: 'com.android.application'

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.2"

    defaultConfig {
        applicationId "socket.ingrain.io.sockettest"
        minSdkVersion 14
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.wingoku.tickers:1.0.4'
}

What am I doing wrong? How can I access my artifact files?

Best Regards


Solution

  • You are missing the artifact ID. Try:

    compile 'com.wingoku.tickers:app:1.0.4'