[Gradle] Make customJvmArgs and commonizerClasspath to be Gradle Inputs
Since it is necessary to re-run commonzier once values of these properties are changed. ^KT-43293
This commit is contained in:
+2
-2
@@ -87,10 +87,10 @@ internal open class CInteropCommonizerTask
|
|||||||
.property<String>()
|
.property<String>()
|
||||||
.chainedFinalizeValueOnRead()
|
.chainedFinalizeValueOnRead()
|
||||||
|
|
||||||
@get:Internal
|
@get:Classpath
|
||||||
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
|
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
|
||||||
|
|
||||||
@get:Internal
|
@get:Input
|
||||||
internal val customJvmArgs: ListProperty<String> = objectFactory
|
internal val customJvmArgs: ListProperty<String> = objectFactory
|
||||||
.listProperty<String>()
|
.listProperty<String>()
|
||||||
.chainedFinalizeValueOnRead()
|
.chainedFinalizeValueOnRead()
|
||||||
|
|||||||
+2
-2
@@ -48,10 +48,10 @@ internal open class NativeDistributionCommonizerTask
|
|||||||
.property<String>()
|
.property<String>()
|
||||||
.chainedFinalizeValueOnRead()
|
.chainedFinalizeValueOnRead()
|
||||||
|
|
||||||
@get:Internal
|
@get:Classpath
|
||||||
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
|
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
|
||||||
|
|
||||||
@get:Internal
|
@get:Input
|
||||||
internal val customJvmArgs: ListProperty<String> = objectFactory
|
internal val customJvmArgs: ListProperty<String> = objectFactory
|
||||||
.listProperty<String>()
|
.listProperty<String>()
|
||||||
.chainedFinalizeValueOnRead()
|
.chainedFinalizeValueOnRead()
|
||||||
|
|||||||
Reference in New Issue
Block a user