diff --git a/.gitignore b/.gitignore index 45e097ee..b7db779a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /dexlib2/accessorTestGenerator/build /smali/build /util/build +/smalidea/build *.iml *.ipr *.iws diff --git a/smalidea/build.gradle b/smalidea/build.gradle index e6b08e38..b4054b61 100644 --- a/smalidea/build.gradle +++ b/smalidea/build.gradle @@ -84,6 +84,8 @@ if (System.env.JDK7_HOME != null) { } } +def sandboxDir = "${buildDir}/sandbox" + // We don't want to use the org.jetbrains.intellij plugin when generating the idea project files, // so that idea classes aren't included as project dependencies, since they will already exist // in the plugin sdk defined for the project @@ -94,7 +96,7 @@ if (!('idea' in gradle.startParameter.taskNames)) { version 'IC-14.1.4' pluginName 'smalidea' - sandboxDirectory "${buildDir}/sandbox" + sandboxDirectory sandboxDir } // This prints out the directories that can be used to configure a plugin sdk in IDEA, using @@ -139,7 +141,7 @@ if (!('idea' in gradle.startParameter.taskNames)) {