Fix problems with task properties

This commit is contained in:
Lóránt Pintér 2021-02-08 11:23:08 +01:00 committed by Schalk Cronje
parent 218b74701a
commit 6b47d5dca7
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@ class GenerateGradleRb extends DefaultTask implements JRubyAwareTask {
getGemInstallDir().absolutePath
}
@Input
protected String getGemInstallDirPath() {
getGemInstallDir().absolutePath
}
@TaskAction
@CompileDynamic
@SuppressWarnings('DuplicateStringLiteral')