Objectbox-java: Failed to resolve: io.objectbox:objectbox-rxjava:2.0.0

Created on 7 Aug 2018  路  5Comments  路  Source: objectbox/objectbox-java

Here's my project level build.gradle

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

buildscript {
    ext.kotlin_version = '1.2.60'
    ext.objectbox_version = '2.0.0'
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url 'https://maven.fabric.io/public' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'io.fabric.tools:gradle:1.25.4'
        classpath 'com.google.gms:google-services:4.0.1'
        classpath "io.objectbox:objectbox-gradle-plugin:$objectbox_version"

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

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url "https://jitpack.io" }
        maven { url 'https://maven.fabric.io/public' }
        maven { url "http://maven.appfoundry.be" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Is there anything I'm missing?

Most helpful comment

Hi @greenrobot ,
Yeap it works now. Thanks for the update! I will leave the closing of this issue to you :)

All 5 comments

Apparently there was an issue with publishing the objectbox-rxjava artifact to jcenter. As a workaround add our repo to your repositories:

maven {
    url  "https://dl.bintray.com/objectbox/objectbox" 
}

-ut

This solved it. Thanks!

Keeping this open until objectbox-rxjava is actually available on jcenter(). -ut

Should be fixed by now, also you can update to version 2.1.0 :-) Can you confirm it works via JCenter?

Hi @greenrobot ,
Yeap it works now. Thanks for the update! I will leave the closing of this issue to you :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fbertanha picture fbertanha  路  4Comments

dj-4war picture dj-4war  路  5Comments

rohitgupta1694 picture rohitgupta1694  路  4Comments

thanhhai08sk picture thanhhai08sk  路  3Comments

rafakob picture rafakob  路  4Comments