diff --git a/README.md b/README.md index 782feef..4a1ca21 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# Simple Authentication Mod +# *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) diff --git a/build.gradle b/build.gradle index 255a958..6975008 100644 --- a/build.gradle +++ b/build.gradle @@ -21,11 +21,6 @@ architectury { subprojects { apply plugin: "forgified-fabric-loom" - - loom { - silentMojangMappingsLicense() - } - dependencies { minecraft "com.mojang:minecraft:${rootProject.minecraft_version}" mappings("net.fabricmc:yarn:${rootProject.yarn_mappings}:v2") diff --git a/common/src/main/resources/fabric.mod.json b/common/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..cdc5fa3 --- /dev/null +++ b/common/src/main/resources/fabric.mod.json @@ -0,0 +1,34 @@ +{ + "schemaVersion": 1, + "id": "simpleauth", + "version": "${version}", + + "name": "Simple Authentication Mod", + "description": "A mod that tries to keep authentication for players simple via commands.", + "authors": [ + "samo_lego" + ], + "contact": { + "homepage": "https://samolego.github.io/projects", + "sources": "https://github.com/samolego/SimpleAuth" + }, + + "license": "MIT", + "environment": "*", + "entrypoints": { + "main": [ + "org.samo_lego.simpleauth.SimpleAuthFabric" + ] + }, + "accessWidener": "simpleauth.accesswidener", + "mixins": [ + "mixins.simpleauth.json" + ], + "depends": { + "fabricloader": ">=0.8.8", + "fabric": "*" + }, + "suggests": { + "flamingo": "*" + } +} diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index cf991a4..cdc5fa3 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -20,6 +20,7 @@ "org.samo_lego.simpleauth.SimpleAuthFabric" ] }, + "accessWidener": "simpleauth.accesswidener", "mixins": [ "mixins.simpleauth.json" ], diff --git a/forge/build.gradle b/forge/build.gradle index 73807f8..2840fad 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -20,7 +20,6 @@ loom { dependencies { forge("net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}") - modCompile("me.shedaniel:architectury:${rootProject.architectury_version}:forge") implementation(project(path: ":common")) { transitive = false