We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51b34da commit 2533c4eCopy full SHA for 2533c4e
src/main/kotlin/app/opendocument/ConanInstallTask.kt
@@ -43,10 +43,14 @@ abstract class ConanInstallTask : Exec() {
43
@get:Input
44
abstract val conanfile: Property<String>
45
46
+ @get:Input
47
+ abstract val conanExecutable: Property<String>
48
+
49
init {
50
profile.convention("default")
51
buildProfile.convention("default")
52
conanfile.convention(".")
53
+ conanExecutable.convention("conan")
54
}
55
56
@get:OutputDirectory
@@ -57,7 +61,7 @@ abstract class ConanInstallTask : Exec() {
57
61
58
62
override fun exec() {
59
63
commandLine(
60
- "conan",
64
+ conanExecutable.get(),
65
"install", conanfile.get(),
66
"--output-folder=" + outputDirectory.get(),
67
"--build=missing",
0 commit comments