aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2019-12-15 12:45:55 +0800
committershedaniel <daniel@shedaniel.me>2019-12-15 12:45:55 +0800
commitfca848e6b4e5e78bd2bec39f5fa91be18d6316b3 (patch)
tree552a8a9db0d0a5738c4607c2a424274b7be5d5de /build.gradle
parent0bb99e56a3c00550d79d4966e4f3768b43e24a9b (diff)
downloadRoughlyEnoughItems-fca848e6b4e5e78bd2bec39f5fa91be18d6316b3.tar.gz
RoughlyEnoughItems-fca848e6b4e5e78bd2bec39f5fa91be18d6316b3.tar.bz2
RoughlyEnoughItems-fca848e6b4e5e78bd2bec39f5fa91be18d6316b3.zip
more work on favorites
Diffstat (limited to 'build.gradle')
-rwxr-xr-xbuild.gradle13
1 files changed, 7 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index 09d9550f7..33c94fd4e 100755
--- a/build.gradle
+++ b/build.gradle
@@ -1,21 +1,19 @@
import java.text.SimpleDateFormat
plugins {
- id 'fabric-loom' version '0.2.5-SNAPSHOT'
+ id 'fabric-loom' version '0.2.6-SNAPSHOT'
id 'maven-publish'
id 'net.minecrell.licenser' version '0.4.1'
}
-sourceCompatibility = 1.8
-targetCompatibility = 1.8
+sourceCompatibility = targetCompatibility = 1.8
archivesBaseName = "RoughlyEnoughItems"
group = "me.shedaniel"
-def ENV = System.getenv()
def forceVersion = ""
-version = forceVersion != "" ? forceVersion : (((String) project.mod_version).contains("unstable") ? (project.mod_version + "." + buildTime()) : project.mod_version)
+version = forceVersion != "" ? forceVersion : ((project.mod_version as String).contains("unstable") ? (project.mod_version + "." + buildTime()) : project.mod_version)
def includeDep = true
@@ -48,7 +46,7 @@ processResources {
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
- mappings "net.fabricmc:yarn:${project.yarn_version}"
+ mappings "net.fabricmc:yarn:${project.yarn_version}:v2"
modApi "net.fabricmc:fabric-loader:${project.fabricloader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${project.fabric_api}"
modApi("me.shedaniel.cloth:cloth-events:${cloth_events_version}") {
@@ -73,6 +71,9 @@ dependencies {
compile "org.lwjgl:lwjgl-jemalloc:3.2.1"
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
implementation 'org.jetbrains:annotations:15.0'
+ modRuntime ("com.lettuce.fudge:notenoughcrashes:1.0.12+1.15") {
+ transitive = false
+ }
}
task sourcesJar(type: Jar, dependsOn: classes) {