Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.4 KB

MOVEFROMJITPACK.md

File metadata and controls

45 lines (35 loc) · 1.4 KB

CyberAPI

This project has recently upgraded from a Jitpack repository to a Nexus repository. This change will be permanent and the Jitpack repository will eventually be dropped. This date will be determined in the near future from July 1st, 2024.

How to Change

The change is incredibly simple for developers.

(1) Open the file where you implement CyberAPI, this is commonly build.gradle for Gradle-related projects and pom.xml for Maven-related projects.

(2) You will change one line in your Gradle or Maven build files.

Gradle

Change your Gradle `build.gradle` from whatever it currently is to:
repositories {
	maven { url 'https://repo.cybercake.net/repository/maven-public/' } // may change to repo.cybercake.net in the future
}

In your dependencies, change the group ID to net.cybercake.cyberapi, like:

dependencies {
	implementation 'net.cybercake.cyberapi:common:*build*'
}

Maven

Change your Maven `pom.xml` from whatever it currently is to:
<repository>
	<url>https://repo.cybercake.net/repository/maven-public/</url> // may change to repo.cybercake.net in the future
</repository>

In your dependencies, change the group ID to net.cybercake.cyberapi, like:

<dependency>
	<groupId>net.cybercake.cyberapi</groupId>
	<artifactId>common</artifactId>
	<version>*build*</version>
</dependency>

(3) Reload your gradle! And now, you're done.