Closed eevanwong closed 3 years ago
If you haven't already, read this first:
https://github.com/HypixelDev/PublicAPI#usage
If you have, can you share your full build configuration file? Either build.gradle
or pom.xml
.
Ok my bad... 5 minutes later I just saw this PR
https://github.com/HypixelDev/PublicAPI/pull/342
Perhaps the references were wrong and the pull rq wasnt merged yet
pom.xml file is
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.hypixel</groupId>
<artifactId>PublicAPI</artifactId>
<packaging>pom</packaging>
<version>2.0-SNAPSHOT</version>
<modules>
<module>Example</module>
<module>Java</module>
</modules>
</project>
From the README, have you tried just using this? Just replace the current <groupId>net...SHOT</version>
section with this.
<repository>
<id>Hypixel</id>
<url>https://repo.hypixel.net/repository/Hypixel/</url>
</repository>
<dependency>
<groupId>net.hypixel</groupId>
<artifactId>HypixelAPI</artifactId>
<version>3.0.0</version>
</dependency>
Yeah got it, thanks a bunch.
Running as project on intellij cannot download dependencies.