From 56402b9d6f069319bdae6f31c0a4cfb702757058 Mon Sep 17 00:00:00 2001 From: Carter Gale Date: Thu, 21 Dec 2017 13:45:25 -0800 Subject: [PATCH] Update build.gradle --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 82d955639d..1ac0d7e99d 100644 --- a/build.gradle +++ b/build.gradle @@ -80,7 +80,11 @@ project(":core") { apply plugin: "java" dependencies { - compile 'com.github.anuken:ucore:7938cb4bf9' + if(new File('../uCore-master').exists()){ + compile project(":uCore") + }else{ + compile 'com.github.anuken:ucore:7938cb4bf9' + } compile "com.badlogicgames.gdx:gdx:$gdxVersion" compile "com.badlogicgames.gdx:gdx-ai:1.8.1" }