Goal
After this step, you will:
- be able to build MixelPixel projects without errors
- have access to all internal APIs and dependencies
[!important]
Complete this step before cloning or building a project.
Otherwise, the project will most likely fail to build.
1. Log in to Nexus
Open: https://repo.mixelpixel.net/
Use the following login format:
- username = your Minecraft name
- password = mixelpixel + your birth date
Example
- username:
_Monty_ - password:
mixelpixel-17-03-1999
1.1 Change your password
After logging in for the first time, change your password to something secure.
To do this:
- Click your username (top right)
- Scroll down to the password section
- Enter your current password
- Enter your new password twice
- Save the changes ("Change password" button)
2. Create the Gradle credentials file
Gradle needs your Nexus credentials to download dependencies.
Create the following file if it does not exist:
```id="y8qzpl" ~/.gradle/gradle.properties
> [!tip]
>
> `~` refers to your user home directory
>
> Example (Windows): `C:\Users\%USERNAME%\`
---
# 3. Add your credentials
Add the following lines:
```id="c8m2zq"
mixel.username=YOUR_USERNAME
mixel.password=YOUR_PASSWORD
Example
id="5u9pwx"
mixel.username=_Monty_
mixel.password=superSecurePassword
4. What this does
When you import or build a project:
- Gradle downloads dependencies
- some of these are private MixelPixel libraries
- these are hosted in Nexus
Your gradle.properties file allows Gradle to authenticate and download them.
Without this, dependencies will fail to load.
5. Security note
[!important]
Never commit your
gradle.propertiesfile to Git.It contains personal credentials and must stay on your local machine.
Next Step
Continue with: [[Clone your first plugin|Getting-Started/Setup-Guide/Clone-your-first-plugin]]