[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:
Anton Lakotka
2022-08-02 20:35:07 +02:00
committed by Space
parent 2427fdf5e2
commit 656d823048
2 changed files with 4 additions and 4 deletions
@@ -87,10 +87,10 @@ internal open class CInteropCommonizerTask
.property<String>()
.chainedFinalizeValueOnRead()
@get:Internal
@get:Classpath
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
@get:Internal
@get:Input
internal val customJvmArgs: ListProperty<String> = objectFactory
.listProperty<String>()
.chainedFinalizeValueOnRead()
@@ -48,10 +48,10 @@ internal open class NativeDistributionCommonizerTask
.property<String>()
.chainedFinalizeValueOnRead()
@get:Internal
@get:Classpath
internal val commonizerClasspath: ConfigurableFileCollection = objectFactory.fileCollection()
@get:Internal
@get:Input
internal val customJvmArgs: ListProperty<String> = objectFactory
.listProperty<String>()
.chainedFinalizeValueOnRead()