aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smalidea/build.gradle5
1 files changed, 4 insertions, 1 deletions
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'