Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/main/kotlin/app/opendocument/ConanInstallTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ abstract class ConanInstallTask : Exec() {
@get:Input
abstract val conanfile: Property<String>

@get:Input
abstract val conanExecutable: Property<String>

init {
profile.convention("default")
buildProfile.convention("default")
conanfile.convention(".")
conanExecutable.convention("conan")
}

@get:OutputDirectory
Expand All @@ -57,7 +61,7 @@ abstract class ConanInstallTask : Exec() {

override fun exec() {
commandLine(
"conan",
conanExecutable.get(),
"install", conanfile.get(),
"--output-folder=" + outputDirectory.get(),
"--build=missing",
Expand Down