forked from sorceress/EasyAuth
Update README.md
This commit is contained in:
parent
94d83ddbc7
commit
36a2a56f28
65
README.md
65
README.md
|
@ -1,23 +1,13 @@
|
|||
# Simple Authentication Mod
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
[](https://github.com/samolego/SimpleAuth/blob/master/LICENSE)
|
||||
[](https://samolego.github.io/projects/ci/SimpleAuth/latest)
|
||||
[](https://github.com/samolego/SimpleAuth/releases/latest)
|
||||
[](https://github.com/samolego/SimpleAuth/issues?q=is%3Aissue+is%3Aclosed)
|
||||
[](https://www.curseforge.com/minecraft/mc-mods/simpleauth)
|
||||
|
||||
Requires Fabric API.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Clone the repository. Then run `./gradlew genSources`
|
||||
2. Edit the code you want.
|
||||
3. To build run the following command:
|
||||
|
||||
```
|
||||
./gradlew build
|
||||
```
|
||||
|
||||
## License
|
||||
Libraries that the project is using:
|
||||
- `Argon2 (LGPLv3)` https://github.com/phxql/argon2-jvm
|
||||
|
@ -25,3 +15,50 @@ Libraries that the project is using:
|
|||
- `JNA (Apache 2 || LGPLv3)` https://github.com/java-native-access/jna
|
||||
|
||||
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`
|
||||
|
||||
```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`
|
||||
```gradle
|
||||
# By tag (version)
|
||||
# SimpleAuth version (this might not be the latest version)
|
||||
simpleauth_version = 1.4.6
|
||||
|
||||
# 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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue