Skip to content

Commit 55a6de1

Browse files
committed
#309 Align Task definition with Gradle conventions
1 parent d3cc506 commit 55a6de1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ allprojects {
4343
println "projectDir : " + projectDir
4444
println "groupId : " + project.group
4545
println "buildDir : " + buildDir
46-
println "targetCompatibility : " + rootProject.targetCompatibility
46+
println "targetCompatibility : " + java.targetCompatibility
4747
println "=" * 80
4848
}
4949
}

htmlSanityCheck-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919

2020
apply plugin: 'groovy'
2121

22-
task copyResourceImages(type: Copy) {
22+
tasks.register('copyResourceImages', Copy) {
2323
from('src/main/resources') {
2424
include '**/*.png'
2525
}

0 commit comments

Comments
 (0)