realm / realm-android-adapters

Adapters for combining Realm Java with Android UI components and framework classes
realm.io
Apache License 2.0
414 stars 134 forks source link

Publish to somewhere else besides jcenter #165

Open ink404 opened 3 years ago

ink404 commented 3 years ago

Feature Request: Just fill in the first two sections below.

Goal

Adapters should not be hosted on jcenter

Expected Results

I'm able to include realm adapters in my project without using jcenter

Actual Results

I need to include the deprecated jcenter repo in my project

Steps & Code to Reproduce

Version of Realm and tooling

Realm version(s): N/A

Android Studio version: N/A

Which Android version and device: N/A

jk77 commented 1 year ago

This will become more of an issue soon since Android Studio is warning that

RepositoryHandler.jcenter() is scheduled to be removed in Gradle 9.0.

The changelog for Realm Java 10.4.0 (2021-03-26) says,

All releases from 10.4.0 and forward are now found on mavenCentral() instead of jcenter().

but this great adapter is still in jcenter.

savelyevdm commented 2 months ago

This will become more of an issue soon since Android Studio is warning that

It has become an issue, as project doesn't build anymore.

Failed to resolve: io.realm:android-adapters:3.1.0

ThimonSistemans commented 1 month ago

Yes this is an issue now. Please host alle versions in MavenCentral

asadwaheed1 commented 2 weeks ago

yes unable to resolve now deleted everywhere

adierebel commented 2 weeks ago

This will become more of an issue soon since Android Studio is warning that

It has become an issue, as project doesn't build anymore.

Failed to resolve: io.realm:android-adapters:3.1.0

We got this issue too, the artifact is deleted from jcenter. See https://repo1.maven.org/maven2/io/realm/

adierebel commented 2 weeks ago

For those who are looking for solution, we recommend removing the dependencies in Gradle. Then embed these two files into your project https://github.com/realm/realm-android-adapters/tree/master/adapters/src/main/java/io/realm

I think this repository is abandoned, last updated 5 years ago. Maybe this is the reason the artifacts were removed.