aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gruver <bgruv@google.com>2016-02-15 13:13:31 -0800
committerBen Gruver <bgruv@google.com>2016-02-20 12:04:48 -0800
commit1df3869a30cc81cd7037c08e1995f41dd1335966 (patch)
tree4c7ad02c7a339161e999bf0b176161111a51673c
parent7b387e06c546e0b9f7caf4434df943651db32cde (diff)
downloadsmali-1df3869a30cc81cd7037c08e1995f41dd1335966.tar.gz
Don't add tools.jar when building the idea project files
-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'