mirror of
https://github.com/revanced/smali.git
synced 2025-04-30 06:34:25 +02:00
Fix up the sandbox directory for smalidea tests
This commit is contained in:
parent
29d714f71f
commit
3bdedd6380
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
|||||||
/dexlib2/accessorTestGenerator/build
|
/dexlib2/accessorTestGenerator/build
|
||||||
/smali/build
|
/smali/build
|
||||||
/util/build
|
/util/build
|
||||||
|
/smalidea/build
|
||||||
*.iml
|
*.iml
|
||||||
*.ipr
|
*.ipr
|
||||||
*.iws
|
*.iws
|
||||||
|
@ -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,
|
// 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
|
// so that idea classes aren't included as project dependencies, since they will already exist
|
||||||
// in the plugin sdk defined for the project
|
// in the plugin sdk defined for the project
|
||||||
@ -94,7 +96,7 @@ if (!('idea' in gradle.startParameter.taskNames)) {
|
|||||||
version 'IC-14.1.4'
|
version 'IC-14.1.4'
|
||||||
pluginName 'smalidea'
|
pluginName 'smalidea'
|
||||||
|
|
||||||
sandboxDirectory "${buildDir}/sandbox"
|
sandboxDirectory sandboxDir
|
||||||
}
|
}
|
||||||
|
|
||||||
// This prints out the directories that can be used to configure a plugin sdk in IDEA, using
|
// 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)) {
|
|||||||
<extension name="coverage" enabled="false" merge="false" runner="idea" />
|
<extension name="coverage" enabled="false" merge="false" runner="idea" />
|
||||||
<module name="smalidea" />
|
<module name="smalidea" />
|
||||||
<option name="TEST_OBJECT" value="directory" />
|
<option name="TEST_OBJECT" value="directory" />
|
||||||
<option name="VM_PARAMETERS" value="-Didea.system.path=${buildDir}/sandbox/config -Didea.system.path=${buildDir}/sandbox/system-test -Didea.load.plugins.id=org.jf.smalidea" />
|
<option name="VM_PARAMETERS" value="-Didea.system.path=${sandboxDir}/config -Didea.system.path=${sandboxDir}/system-test -Didea.load.plugins.id=org.jf.smalidea" />
|
||||||
<option name="WORKING_DIRECTORY" value="file://\$PROJECT_DIR\$/smalidea" />
|
<option name="WORKING_DIRECTORY" value="file://\$PROJECT_DIR\$/smalidea" />
|
||||||
<option name="PASS_PARENT_ENVS" value="true" />
|
<option name="PASS_PARENT_ENVS" value="true" />
|
||||||
<option name="TEST_SEARCH_SCOPE">
|
<option name="TEST_SEARCH_SCOPE">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user