Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ class PublishOp {

// if the resolved publish path is a string, resolve it
// against the base output directory
if( resolvedPath instanceof String )
return outputDir.resolve(resolvedPath)
if( resolvedPath instanceof CharSequence )
return outputDir.resolve(resolvedPath.toString())

// if the resolved publish path is a closure, use the closure
// to transform each published file and resolve it against
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class OutputDslTest extends Specification {

when:
dsl.target('bar') {
path('barbar')
path { v -> "${'barbar'}" }
index {
path 'index.csv'
}
Expand Down