Update fabric, mappings and loom. Added Canvas library.

This commit is contained in:
Aleksey 2020-10-06 22:00:46 +03:00
parent 50f93efbf9
commit b36aae9e8b
5 changed files with 21 additions and 13 deletions

View file

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.4-SNAPSHOT'
id 'fabric-loom' version '0.5-SNAPSHOT'
id 'maven-publish'
}
@ -10,14 +10,20 @@ archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
repositories {
maven { url "https://maven.dblsaiko.net/" }
maven { url "http://server.bbkr.space:8081/artifactory/libs-release/" }
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
mappings "net.fabricmc:yarn:${project.minecraft_version}+build.${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems:5.6.0"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api:5.6.0"
modCompileOnly "me.shedaniel:RoughlyEnoughItems:${project.rei_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api:${project.rei_version}"
modCompile "grondag:canvas-mc116:${project.canvas_version}"
}
processResources {