firstfloorsoftware / flutter_sodium

Flutter bindings for libsodium
BSD 3-Clause "New" or "Revised" License
102 stars 47 forks source link

maven not available #23

Closed Kiruel closed 4 years ago

Kiruel commented 4 years ago
FAILURE: Build failed with an exception.                                

* What went wrong:                                                      
Could not determine the dependencies of task ':app:preDebugBuild'.      
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.2-SNAPSHOT.
     Required by:                                                       
         project :app > project :flutter_sodium                         
      > Could not resolve com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.2-SNAPSHOT.
         > Unable to load Maven meta-data from https://oss.sonatype.org/content/repositories/snapshots/com/github/joshjdevl/libsodiumjni/libsodium-jni-aar/2.0.2-SNAPSHOT/maven-metadata.xml.
            > Could not HEAD 'https://oss.sonatype.org/content/repositories/snapshots/com/github/joshjdevl/libsodiumjni/libsodium-jni-aar/2.0.2-SNAPSHOT/maven-metadata.xml'. Received status code 503 from server: Service Temporarily Unavailable

Should be better to use this maven url https://mvnrepository.com/artifact/com.github.joshjdevl.libsodiumjni/libsodium-jni-aar

Kiruel commented 4 years ago

It just come back online.

Kiruel commented 4 years ago

Still broke sometimes, need to change the url. https://oss.sonatype.org/content/repositories/snapshots/com/github/joshjdevl/libsodiumjni/libsodium-jni-aar/2.0.2-SNAPSHOT/maven-metadata.xml

ca333 commented 4 years ago

This is pretty much a local DNS issue on your end.

ccadieux commented 4 years ago

@ca333 Is it? I have this issue with developers in more than one location. We are all seeing this right now. It works eventually apparently but is very random.

ccadieux commented 4 years ago

@Kiruel PR fixes this issue for me.