Skip to content

Commit

Permalink
Use Vanguard
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Jan 21, 2021
1 parent ea4964d commit 2195eed
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,8 @@
# Nomad Books - Changelog

### Nomad Books 0.5.8 - 1.16.4
### Nomad Books 0.5.8 - 1.16.5
- Fixed an issue where only one nomad book would be craftable per Minecraft instance
- Added Vanguard auto-updater

### Nomad Books 0.5.7 - 1.16.3
- Fixed an issue that made inked nomad books unable to progress
Expand Down
14 changes: 12 additions & 2 deletions build.gradle
Expand Up @@ -20,6 +20,16 @@ group = project.maven_group
minecraft {
}

repositories {
maven { url 'https://jitpack.io' }

// Ladysnake bintray
maven {
name = "Ladysnake Libs"
url = "https://dl.bintray.com/ladysnake/libs"
}
}

dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
Expand All @@ -29,8 +39,8 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them.
// Includes Vanguard as a Jar-in-Jar dependency
include "io.github.ladysnake:vanguard:${vanguard_version}"
}

processResources {
Expand Down
12 changes: 7 additions & 5 deletions gradle.properties
Expand Up @@ -2,15 +2,15 @@
org.gradle.jvmargs=-Xmx1G

# Fabric Properties
minecraft_version=1.16.4
yarn_mappings=1.16.4+build.7
loader_version=0.10.8
minecraft_version=1.16.5
yarn_mappings=1.16.5+build.1
loader_version=0.11.1

#Fabric api
fabric_version=0.26.3+1.16
fabric_version=0.29.4+1.16

# Mod Properties
mod_version = 0.5.7
mod_version = 0.5.8
maven_group = io.github.ladysnake
archives_base_name = nomadbooks

Expand All @@ -22,3 +22,5 @@ curseforge_versions = 1.16.3
cf_requirements = fabric-api
release_type = beta
changelog_url = https://github.com/Ladysnake/Nomad-Books/blob/master/CHANGELOG.md

vanguard_version = 1.0.4
6 changes: 5 additions & 1 deletion src/main/resources/fabric.mod.json
Expand Up @@ -27,7 +27,11 @@
"discord": "ladysnake.glitch.me/discord"
},
"license": "CC-BY-NC-SA 4.0",

"custom": {
"vanguard": {
"curse-project-id": "356921"
}
},
"depends": {
"fabric": "*"
}
Expand Down

0 comments on commit 2195eed

Please sign in to comment.