See gh-20498
This commit is contained in:
Johnny Lim
2020-03-11 12:17:37 +09:00
committed by Stephane Nicoll
parent 9370f21221
commit 8526e66939
5 changed files with 51 additions and 53 deletions

View File

@@ -56,7 +56,7 @@ public class BuildInfoProperties implements Serializable {
this.version = project.getObjects().property(String.class);
this.version.set(project.provider(() -> project.getVersion().toString()));
this.name = project.getObjects().property(String.class);
this.name.set(project.provider(() -> project.getName().toString()));
this.name.set(project.provider(() -> project.getName()));
}
/**