Skip to content

Commit bf96823

Browse files
committed
Fix Gradle 8 problems, which is used from Github actions
1 parent b254aae commit bf96823

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
dist: jammy
22
language: java
3+
gradle: 6.9.3
34

45
jdk:
56
- openjdk8

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jar {
6767
}
6868

6969
task sourcesJar(type: Jar, dependsOn: classes) {
70-
classifier = 'sources'
70+
archiveClassifier = 'sources'
7171
from sourceSets.main.java
7272
}
7373

7474
task javadocJar(type: Jar, dependsOn: javadoc) {
75-
classifier = 'javadoc'
75+
archiveClassifier = 'javadoc'
7676
from javadoc.destinationDir
7777
}
7878

@@ -106,8 +106,8 @@ apply plugin: 'jacoco'
106106
jacocoTestReport {
107107
tasks.coveralls.dependsOn it
108108
reports {
109-
xml.enabled = true // coveralls plugin depends on xml format report
110-
html.enabled = true
109+
xml.required = true // coveralls plugin depends on xml format report
110+
html.required = true
111111
}
112112
}
113113
check.dependsOn tasks.coveralls

0 commit comments

Comments
 (0)