inputs.property('version', docsVersion)
inputs.file(rootProject.file('build.gradle'));
inputs.dir('src').withPathSensitivity(PathSensitivity.RELATIVE)
- ['gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock', 'tsconfig.json'].each {
+ ['build.gradle', 'gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock', 'tsconfig.json'].each {
inputs.file(it).withPathSensitivity(PathSensitivity.RELATIVE)
}
outputs.dir('public')
environment += [ GATSBY_DOCS_VERSION: docsVersion ]
commandLine osAdaptiveCommand(['npm', 'run', 'build'])
}
+yarn_run.dependsOn(extractAnalyzerDocFiles)
build.dependsOn(yarn_run)
// To clean outputs outside of "build" directory:
}
}
zip.dependsOn yarn_run
-assemble.dependsOn zip, extractAnalyzerDocFiles
+assemble.dependsOn zip
publishing {
publications {