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 @@ -7,7 +7,7 @@ import groovy.lang.*
7
7
val buildDocsDir = " $buildDir /docs"
8
8
val jekyllDockerImage = " jekyll/jekyll:${version(" jekyll" )} "
9
9
10
- val copyDocs = tasks.register< Copy >( " copyDocs " ) {
10
+ val copyDocs by tasks.registering( Copy :: class ) {
11
11
val dokkaTasks = rootProject.getTasksByName(" dokka" , true )
12
12
13
13
from(dokkaTasks.map { " ${it.project.buildDir} /dokka" }) {
@@ -21,7 +21,7 @@ val copyDocs = tasks.register<Copy>("copyDocs") {
21
21
dependsOn(dokkaTasks)
22
22
}
23
23
24
- val copyExampleFrontendJs = tasks.register< Copy >( " copyExampleFrontendJs " ) {
24
+ val copyExampleFrontendJs by tasks.registering( Copy :: class ) {
25
25
val srcBuildDir = project(" :example-frontend-js" ).buildDir
26
26
from(" $srcBuildDir /dist" )
27
27
into(" $buildDocsDir /example-frontend-js" )
You can’t perform that action at this time.
0 commit comments