File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/groovy/com/marklogic/gradle/task/export Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11package com.marklogic.gradle.task.export
22
3+ import com.marklogic.appdeployer.ConfigDir
34import com.marklogic.appdeployer.export.ExportedResources
45import com.marklogic.appdeployer.export.Exporter
56import com.marklogic.gradle.task.MarkLogicTask
@@ -50,7 +51,9 @@ class ExportResourcesTask extends MarkLogicTask {
5051 }
5152
5253 void export (ResourceSelector selector ) {
53- def path = getAppConfig(). getFirstConfigDir(). getBaseDir()
54+ List<ConfigDir > configDirs = getAppConfig(). getConfigDirs()
55+ ConfigDir lastConfigDir = configDirs. get(configDirs. size() - 1 )
56+ def path = lastConfigDir. getBaseDir()
5457 if (getProject(). hasProperty(" exportPath" )) {
5558 /**
5659 * Note that if a user provides a path and they're using Java 11 and the Gradle daemon, then the path
You can’t perform that action at this time.
0 commit comments