outputs.cacheIf { true }
}
+compileJava.onlyIf {false}
+
task yarn_run(type: Exec) {
dependsOn "yarn_design-system"
build.dependsOn(yarn_run)
task "yarn_lint-report-ci"(type: Exec) {
- dependsOn "yarn_design-system"
-
// Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
['config', 'src/main/js'].each {
inputs.dir(it)
task "yarn_validate-ci"(type: Exec) {
dependsOn "yarn_design-system"
-
+
// Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
['config', 'src/main/js', 'design-system'].each {
inputs.dir(it)
task "yarn_check-ci"(type: Exec) {
dependsOn "yarn_design-system"
-
+
// Note that outputs are not relocatable, because contain absolute paths, and that's why inputs are not relativized
['config', 'src'].each {
inputs.dir(it)
+import nl.javadude.gradle.plugins.license.License
+
plugins {
id "org.jsonschema2pojo" version "1.2.1"
}
}
license {
- excludes(["org/sonar/sarif/pojo/**/*"])
-}
\ No newline at end of file
+ exclude("org/sonar/sarif/pojo/**/*")
+}
+
+tasks.withType(License).configureEach { licenseTask ->
+ licenseTask.mustRunAfter(tasks.named("generateJsonSchema2Pojo"))
+}