Skip to content

Commit

Permalink
yeap
Browse files Browse the repository at this point in the history
  • Loading branch information
RacoonDog committed Sep 25, 2023
1 parent f4b582c commit 400c23c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,14 @@ public class LaunchArgsTest implements ArgsListener {
```groovy
repositories {
maven {
url "https://repo.repsy.io/mvn/ggcrosby/launchargsapi"
name = "meteor-maven"
url = "https://maven.meteordev.org/releases"
}
}
dependencies {
modImplementation("io.github.racoondog:LaunchArgsAPI:1.1.0") {
transitive = false
}
include("io.github.racoondog:LaunchArgsAPI:1.1.0") {
transitive = false
}
modImplementation "io.github.racoondog:LaunchArgsAPI:1.1.3"
include "io.github.racoondog:LaunchArgsAPI:1.1.3"
}
```

Expand Down
17 changes: 13 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation(include(fabricApi.module("fabric-api-base", project.fabric_version)))

modRuntimeOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
}

processResources {
Expand Down Expand Up @@ -55,6 +52,18 @@ publishing {

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
mavenLocal()
maven {
name = "meteor-maven"
url = "https://maven.meteordev.org/releases"

credentials {
username = System.getenv("MAVEN_METEOR_ALIAS")
password = System.getenv("MAVEN_METEOR_TOKEN")
}

authentication {
basic(BasicAuthentication)
}
}
}
}
6 changes: 1 addition & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ yarn_mappings=1.20.1+build.10
loader_version=0.14.22

# Mod Properties
mod_version=1.1.2
mod_version=1.1.3
maven_group=io.github.racoondog
archives_base_name=launchargsapi

# Dependencies
fabric_version=0.86.1+1.20.1
modmenu_version=7.2.1
Binary file modified src/main/resources/assets/launchargsapi/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "${version}",

"name": "Launch Args API",
"description": "Common hooks to access Minecraft launch arguments.",
"description": "Common API to access Minecraft launch arguments.",
"authors": [
"Crosby"
],
"contact": {
"sources": "https://github.com/RacoonDog/LaunchArgsAPI",
"issues": "https://github.com/RacoonDog/LaunchArgsAPI/issues",
"discord": ""
"discord": "https://discord.gg/4RBmBCFSTc"
},

"license": "MIT",
Expand All @@ -30,7 +30,6 @@

"depends": {
"fabricloader": ">=0.12",
"fabric-api-base": "*",
"minecraft": ">=1.19.4",
"java": ">=17"
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/launchargsapi.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"minVersion": "0.8",
"package": "io.github.racoondog.launchargsapi.mixin",
"compatibilityLevel": "JAVA_17",
"client": [
"ClientMainMixin"
],
"injectors": {
"defaultRequire": 1
},
"client": [
"ClientMainMixin"
],
"server": [
"ServerMainMixin"
]
Expand Down
5 changes: 2 additions & 3 deletions src/test/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
},

"depends": {
"fabricloader": ">=0.12",
"fabric-api": "*",
"minecraft": ">=1.19",
"fabricloader": ">=0.13",
"minecraft": ">=1.20.1",
"java": ">=17"
}
}

0 comments on commit 400c23c

Please sign in to comment.