File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ tasks.named<KotlinCompile>("compileJmhKotlin") {
33
33
* Due to a bug in the inliner it sometimes does not remove inlined symbols (that are later renamed) from unused code paths,
34
34
* and it breaks JMH that tries to post-process these symbols and fails because they are renamed.
35
35
*/
36
- val removeRedundantFiles = tasks.register< Delete >( " removeRedundantFiles " ) {
36
+ val removeRedundantFiles by tasks.registering( Delete :: class ) {
37
37
delete(" $buildDir /classes/kotlin/jmh/benchmarks/flow/scrabble/FlowPlaysScrabbleOpt\$ play\$ buildHistoOnScore\$ 1\$\$ special\$\$ inlined\$ filter\$ 1\$ 1.class" )
38
38
delete(" $buildDir /classes/kotlin/jmh/benchmarks/flow/scrabble/FlowPlaysScrabbleOpt\$ play\$ nBlanks\$ 1\$\$ special\$\$ inlined\$ map\$ 1\$ 1.class" )
39
39
delete(" $buildDir /classes/kotlin/jmh/benchmarks/flow/scrabble/FlowPlaysScrabbleOpt\$ play\$ score2\$ 1\$\$ special\$\$ inlined\$ map\$ 1\$ 1.class" )
Original file line number Diff line number Diff line change 5
5
val buildDocsDir = " $buildDir /docs"
6
6
val jekyllDockerImage = " jekyll/jekyll:${version(" jekyll" )} "
7
7
8
- val copyDocs = tasks.register< Copy >( " copyDocs " ) {
8
+ val copyDocs by tasks.registering( Copy :: class ) {
9
9
val dokkaTasks = rootProject.getTasksByName(" dokka" , true )
10
10
11
11
from(dokkaTasks.map { " ${it.project.buildDir} /dokka" }) {
@@ -18,7 +18,7 @@ val copyDocs = tasks.register<Copy>("copyDocs") {
18
18
dependsOn(dokkaTasks)
19
19
}
20
20
21
- val copyExampleFrontendJs = tasks.register< Copy >( " copyExampleFrontendJs " ) {
21
+ val copyExampleFrontendJs by tasks.registering( Copy :: class ) {
22
22
val srcBuildDir = project(" :example-frontend-js" ).buildDir
23
23
from(" $srcBuildDir /dist" )
24
24
into(" $buildDocsDir /example-frontend-js" )
You can’t perform that action at this time.
0 commit comments