Push version

This commit is contained in:
NikitaCartes 2021-06-24 00:41:42 +03:00
parent 1c15f9ea98
commit fdc0a9f0fe
No known key found for this signature in database
GPG Key ID: 3A5BAB26D767AA69
2 changed files with 4 additions and 47 deletions

View File

@ -1,15 +1,6 @@
# *Deprecated*
## Simple Authentication Mod
[![License](https://img.shields.io/github/license/samolego/simpleauth.svg)](https://github.com/samolego/SimpleAuth/blob/master/LICENSE)
[![Fabric CI](https://github.com/samolego/SimpleAuth/workflows/Fabric%20CI/badge.svg)](https://samolego.github.io/projects/ci/SimpleAuth/latest)
[![Version](https://img.shields.io/github/v/tag/samolego/SimpleAuth.svg?label=version)](https://github.com/samolego/SimpleAuth/releases/latest)
[![Closed Issues](https://img.shields.io/github/issues-closed/samolego/simpleauth.svg)](https://github.com/samolego/SimpleAuth/issues?q=is%3Aissue+is%3Aclosed)
[![Curseforge downloads](http://cf.way2muchnoise.eu/full_simpleauth_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/simpleauth)
[<img src="https://i.imgur.com/Ol1Tcf8.png" alt="Requires Fabric API." width="200px" href="https://www.curseforge.com/minecraft/mc-mods/fabric-api">](https://www.curseforge.com/minecraft/mc-mods/fabric-api)
Since Samolego deprecated his mod, I consider updating it to the latest version.
See [wiki](https://github.com/samolego/SimpleAuth/wiki) for more information.
@ -32,40 +23,6 @@ This project is licensed under the `MIT` license.
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`
```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
./gradlew clean build
```
4. Delete `"accessWidener": "simpleauth.accesswidener"` from `fabric.mod.json` in your `.jar`

View File

@ -16,7 +16,7 @@ forge_version=36.0.4
architectury_version=1.5.101
# Mod Properties
mod_version = 1.8.0-beta
mod_version = 1.8.1-beta
maven_group = org.samo_lego
archives_base_name = simpleauth