From 1df3869a30cc81cd7037c08e1995f41dd1335966 Mon Sep 17 00:00:00 2001 From: Ben Gruver Date: Mon, 15 Feb 2016 13:13:31 -0800 Subject: [PATCH] Don't add tools.jar when building the idea project files --- smalidea/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/smalidea/build.gradle b/smalidea/build.gradle index ba3630b7..408b02c0 100644 --- a/smalidea/build.gradle +++ b/smalidea/build.gradle @@ -108,6 +108,10 @@ if (!('idea' in gradle.startParameter.taskNames)) { } } } + + dependencies { + compile files("${System.properties['java.home']}/../lib/tools.jar") + } } else { // If we're running the idea task, let's make sure nothing else is being run, since // we have to use a special configuration for the idea task @@ -123,7 +127,6 @@ repositories { dependencies { compile 'org.smali:smali:2.1.2' - compile files("${System.properties['java.home']}/../lib/tools.jar") compile 'org.antlr:antlr-runtime:3.5.2' compile 'com.google.code.gson:gson:2.3.1'