husnjak / IGDB-API-JVM

Wrapper for IGDBs API written in Kotlin should work for all JVM based languages, tested in Kotlin & Java
MIT License
37 stars 10 forks source link

Missing artifact fuel-android #16

Open MrHayz opened 2 years ago

MrHayz commented 2 years ago

When adding to project through maven Pom file, an error is thrown stating "Missing artifact com.GitHub.kittinunf.fuel-android:jar:2.3.1"

SaninfomaxUN commented 2 years ago

I finally found a temporary solution. ✅ Add the exclusion to thit artifact, inside the dependency in the pom.xml:

     <exclusions>
         <exclusion>
             <groupId>com.github.kittinunf.fuel</groupId>
             <artifactId>fuel-android</artifactId>
         </exclusion>
     </exclusions>

So the complete dependency would be:

<dependency>
     <groupId>com.github.husnjak</groupId>
     <artifactId>IGDB-API-JVM</artifactId>
     <version>1.0.5</version>
     <exclusions>
         <exclusion>
             <groupId>com.github.kittinunf.fuel</groupId>
             <artifactId>fuel-android</artifactId>
         </exclusion>
     </exclusions>
 </dependency>

This way, you won't have any problems with Maven and you will be able to build. Salu2 from 🇨🇴 ✌