Skip to content

Commit

Permalink
build: Add devauth as a mod runtime only dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
caoimhebyrne committed Jun 5, 2022
1 parent 0125384 commit 19dbd8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ repositories {
mavenCentral()
maven("https://maven.terraformersmc.com/")
maven("https://maven.shedaniel.me/")
maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
}

dependencies {
Expand All @@ -29,6 +30,7 @@ dependencies {
val fabricVersion: String by project
val modmenuVersion: String by project
val clothConfigVersion: String by project
val devauthVersion: String by project

minecraft("com.mojang:minecraft:$minecraftVersion")
mappings("net.fabricmc:yarn:$yarnMappings:v2")
Expand All @@ -37,6 +39,9 @@ dependencies {

modImplementation("com.terraformersmc:modmenu:$modmenuVersion") { exclude("net.fabricmc.fabric-api") }
modApi("me.shedaniel.cloth:cloth-config-fabric:$clothConfigVersion") { exclude("net.fabricmc.fabric-api") }

// Used for authentication in the development environment
modRuntimeOnly("me.djtheredstoner:DevAuth-fabric:${devauthVersion}")
}

tasks {
Expand Down
4 changes: 3 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ org.gradle.jvmargs=-Xmx2G
# Mod Properties
mod_version=1.1.2
maven_group=dev.cbyrne
archives_base_name=CompactChat
archives_base_name=CompactChat
# Dependencies
devauthVersion=1.0.0

0 comments on commit 19dbd8e

Please sign in to comment.