mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 12:20:11 +02:00
Add the ideadirs task for smalidea
This commit is contained in:
parent
df4e74e41c
commit
92f8ec50c5
@ -97,6 +97,17 @@ if (!('idea' in gradle.startParameter.taskNames)) {
|
|||||||
|
|
||||||
sandboxDirectory "${buildDir}/sandbox"
|
sandboxDirectory "${buildDir}/sandbox"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This prints out the directories that can be used to configure a plugin sdk in IDEA, using
|
||||||
|
// the copy of IDEA downloaded by the org.jetbrains.intellij plugin
|
||||||
|
task ideaDirs() {
|
||||||
|
project.afterEvaluate {
|
||||||
|
if (intellij != null) {
|
||||||
|
println "IDEA Plugin jdk: ${intellij.ideaDirectory}"
|
||||||
|
println "sources: ${project.configurations['intellij-sources'].files[0]}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// If we're running the idea task, let's make sure nothing else is being run, since
|
// 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
|
// we have to use a special configuration for the idea task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user