From 55a6de16f3882ded4dfe63e4af1e10ff064ad709 Mon Sep 17 00:00:00 2001 From: Gerd Aschemann Date: Sat, 21 Oct 2023 11:34:53 +0200 Subject: [PATCH] #309 Align Task definition with Gradle conventions --- build.gradle | 2 +- htmlSanityCheck-core/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 89db734a..5f20639e 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ allprojects { println "projectDir : " + projectDir println "groupId : " + project.group println "buildDir : " + buildDir - println "targetCompatibility : " + rootProject.targetCompatibility + println "targetCompatibility : " + java.targetCompatibility println "=" * 80 } } diff --git a/htmlSanityCheck-core/build.gradle b/htmlSanityCheck-core/build.gradle index 6255ef7a..3462ec86 100644 --- a/htmlSanityCheck-core/build.gradle +++ b/htmlSanityCheck-core/build.gradle @@ -19,7 +19,7 @@ dependencies { apply plugin: 'groovy' -task copyResourceImages(type: Copy) { +tasks.register('copyResourceImages', Copy) { from('src/main/resources') { include '**/*.png' }