[Gradle, JS] In KotlinWebpack configDirectory as getter not lazy
It is useful to dynamically creating config directory during build execution ^KT-46976 fixed
This commit is contained in:
committed by
TeamCityServer
parent
3709616baa
commit
f2a067eda0
+2
-3
@@ -152,9 +152,8 @@ constructor(
|
||||
@get:PathSensitive(PathSensitivity.ABSOLUTE)
|
||||
@get:Optional
|
||||
@get:InputDirectory
|
||||
open val configDirectory: File? by lazy {
|
||||
projectDir.resolve("webpack.config.d").takeIf { it.isDirectory }
|
||||
}
|
||||
open val configDirectory: File?
|
||||
get() = projectDir.resolve("webpack.config.d").takeIf { it.isDirectory }
|
||||
|
||||
@Input
|
||||
var report: Boolean = false
|
||||
|
||||
Reference in New Issue
Block a user