Start a new topic

AndroidX and deprecated Jcenter()

Hello, I'm currently using JAvaScript SDK 8.5.0 and working with androidX.

As it's known Jcenter() is deprecated with Gradle 7.0+, So now i get this error  

couldn't find :wikitudesdk:

 I replaced jcenter() with mavencentral(), but still the same probleme! I want to know is Wikitude library available on maven centrale or is there another way to go with this?? 

Below you will find the code that generates the error.

Best regards

buildscript {
    repositories {
        mavenCentral()
        google()
        maven {
            url 'https://cdn.wikitude.com/sdk/maven'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.0'
    }
 }

 

1 Comment

Hi,


The Wikitude library is available with the code you already included:


maven {
    url 'https://cdn.wikitude.com/sdk/maven'
}


Unfortunately we are still pointing to gradle 4.2.2 and internally we are still using JCenter() dependencies. We already have an open ticket to upgrade the gradle version and apply the required changes that will be implemented as soon as possible.


Thank you for your patience,


Aitor.

Login or Signup to post a comment