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" }