Skip to content

Commit 88c5c5f

Browse files
committed
Working on build
1 parent b4d3bcb commit 88c5c5f

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

build.gradle

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ java {
2525
toolchain {
2626
languageVersion = JavaLanguageVersion.of(21)
2727
}
28+
withJavadocJar()
29+
withSourcesJar()
2830
}
2931

3032
repositories {
@@ -70,24 +72,14 @@ javadoc {
7072
}
7173
}
7274

73-
tasks.register('javadocJar', Jar) {
74-
classifier = 'javadoc'
75-
from javadoc
76-
}
77-
78-
tasks.register('sourcesJar', Jar) {
79-
classifier = 'sources'
80-
from sourceSets.main.allSource
81-
}
82-
8375
jacoco {
8476
toolVersion = "0.8.13"
8577
}
8678

8779
jacocoTestReport {
8880
reports {
89-
xml.enabled = true // coveralls plugin depends on xml format report
90-
html.enabled = true
81+
xml.required = true // coveralls plugin depends on xml format report
82+
html.required = true
9183
}
9284
}
9385

0 commit comments

Comments
 (0)