Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot locate rx-lifx package on Maven (or other) repositories #8

Open
Venryx opened this issue Oct 16, 2024 · 1 comment
Open

Cannot locate rx-lifx package on Maven (or other) repositories #8

Venryx opened this issue Oct 16, 2024 · 1 comment

Comments

@Venryx
Copy link
Contributor

Venryx commented Oct 16, 2024

Today I had to clear my gradle cache folder (C:\Users\MY_USERNAME\.gradle\caches) to fix a cache bug, and after doing so, Android Studio was complaining that it couldn't find the "rx-lifx" package (neither the version I had been using, 0.0.11, nor the latest version 0.1.1-alpha).

I did an online search for rx-lifx, and can't find it in the Maven, etc. repositories. For example, this search for "lifx" does not find it (but it does find the "jlifx" package): https://central.sonatype.com/search?q=lifx

Any idea why it seems to be gone from the Maven repository? Or was it hosted in some other repository originally? (I can't seem to find it in any repository at least)

@flowsprenger
Copy link
Owner

Hi @Venryx,
Yeah this was hosted on bintray which apparently was completely shut down yesterday.
It will require some rework to set this up to to publish somewhere else.

To solve your immediate problem, you could apply the following patch, and then run ./gradlew publishToMavenLocal, which will publish and make it available on your local machine if you add mavenLocal() as a repository in your project.

Index: gradle/wrapper/gradle-wrapper.properties
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>ISO-8859-1
===================================================================
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
--- a/gradle/wrapper/gradle-wrapper.properties	(revision c0c3e7ef4d8cd523fe0d7e65ed478e4bfd6a4803)
+++ b/gradle/wrapper/gradle-wrapper.properties	(date 1729071880947)
@@ -1,6 +1,5 @@
-#Tue Feb 20 22:19:46 AEDT 2018
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-rc-2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-bin.zip
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/build.gradle b/build.gradle
--- a/build.gradle	(revision c0c3e7ef4d8cd523fe0d7e65ed478e4bfd6a4803)
+++ b/build.gradle	(date 1729071802971)
@@ -14,11 +14,6 @@
 
 }
 
-
-plugins {
-    id "com.jfrog.bintray" version "1.7.3"
-}
-
 apply plugin: 'org.junit.platform.gradle.plugin'
 
 version "0.1.1-alpha"
@@ -64,28 +59,6 @@
     //useJUnitPlatform()
 }
 
-bintray {
-    user = "$System.env.BINTRAY_USER"
-    key = "$System.env.BINTRAY_KEY"
-
-    pkg {
-        repo = 'RxLifx-Kotlin'
-        name = 'RxLifx-Kotlin'
-        userOrg = 'flowsprenger'
-        licenses = ['MIT']
-        vcsUrl = 'https://github.com/flowsprenger/RxLifx-Kotlin'
-        version {
-            name = "$project.version"
-            desc = 'RxLifx-Kotlin'
-            released  = new Date()
-            vcsTag = "$project.version"
-            attributes = [:]
-        }
-        publish = true
-    }
-    publications = ['MyPublication']
-}
-
 publishing {
     publications {
         MyPublication(MavenPublication) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants