EasyAuth/README.md

2.2 KiB

Simple Authentication Mod

License Gradle Build Version Closed Issues Curseforge downloads

Requires Fabric API.

License

Libraries that the project is using:

This project is licensed under the MIT license.

For mod developers

Changing code

  1. Clone the repository. Then run ./gradlew genSources
  2. Edit the code you want.
  3. To build run the following command:
./gradlew build

Adding the mod to your buildscript (to ensure compatibility)

Add following text to your build.gradle

repositories {
	maven {
		url 'https://jitpack.io'
	}
}

dependencies {
  // By version tag
  modImplementation 'com.github.samolego:SimpleAuth:${project.simpleauth_version}'
  
  // Or by branch
  modImplementation 'com.github.samolego:SimpleAuth:${project.simpleauth_branch}-SNAPSHOT'
}

And this to your gradle.properties

# By tag (version)
# SimpleAuth version (this might not be the latest version)
simpleauth_version = 1.4.8

# Or this (by branch)
# SimpleAuth branches

# master branch (the latest version for stable minecraft release)
simpleauth_branch = master

# snapshot branch (branch for minecraft snapshots)
simpleauth_branch = latest-snapshot