Fix Gradle 8 problems, which is used from Github actions

This commit is contained in:
Volker Berlin 2023-02-26 22:33:19 +01:00
parent b254aae288
commit bf96823c27
No known key found for this signature in database
GPG Key ID: 988423EF815BE4CB
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
dist: jammy
language: java
gradle: 6.9.3
jdk:
- openjdk8

View File

@ -67,12 +67,12 @@ jar {
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.java
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}
@ -106,8 +106,8 @@ apply plugin: 'jacoco'
jacocoTestReport {
tasks.coveralls.dependsOn it
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
xml.required = true // coveralls plugin depends on xml format report
html.required = true
}
}
check.dependsOn tasks.coveralls