@@ -16,47 +16,44 @@ open class VcsInfoExtension @Inject constructor(objects: ObjectFactory) {
1616 /* *
1717 * The VCS commit sha to use for the upload. If not provided, the current commit sha will be used.
1818 */
19- val headSha: Property <String > = objects.property(String ::class .java).convention( null as String? )
19+ val headSha: Property <String > = objects.property(String ::class .java)
2020
2121 /* *
2222 * The VCS commit's base sha to use for the upload. If not provided, the merge-base of the current
2323 * and remote branch will be used.
2424 */
25- val baseSha: Property <String > = objects.property(String ::class .java).convention( null as String? )
25+ val baseSha: Property <String > = objects.property(String ::class .java)
2626
2727 /* * The VCS provider to use for the upload. If not provided, the current provider will be used. */
28- val vcsProvider: Property <String > =
29- objects.property(String ::class .java).convention(null as String? )
28+ val vcsProvider: Property <String > = objects.property(String ::class .java)
3029
3130 /* *
3231 * The name of the git repository to use for the upload (e.g. organization/repository). If not
3332 * provided, the current repository will be used.
3433 */
35- val headRepoName: Property <String > =
36- objects.property(String ::class .java).convention(null as String? )
34+ val headRepoName: Property <String > = objects.property(String ::class .java)
3735
3836 /* *
3937 * The name of the git repository to use for the upload (e.g. organization/repository). If not
4038 * provided, the current repository will be used.
4139 */
42- val baseRepoName: Property <String > =
43- objects.property(String ::class .java).convention(null as String? )
40+ val baseRepoName: Property <String > = objects.property(String ::class .java)
4441
4542 /* *
4643 * The reference (branch) to use for the upload. If not provided, the current reference will be
4744 * used.
4845 */
49- val headRef: Property <String > = objects.property(String ::class .java).convention( null as String? )
46+ val headRef: Property <String > = objects.property(String ::class .java)
5047
5148 /* *
5249 * The base reference (branch) to use for the upload. If not provided, the merge-base with the
5350 * remote tracking branch will be used.
5451 */
55- val baseRef: Property <String > = objects.property(String ::class .java).convention( null as String? )
52+ val baseRef: Property <String > = objects.property(String ::class .java)
5653
5754 /* *
5855 * The pull request number to use for the upload. If not provided, the current pull request number
5956 * will be used.
6057 */
61- val prNumber: Property <Int > = objects.property(Int ::class .java).convention( null as Int? )
58+ val prNumber: Property <Int > = objects.property(Int ::class .java)
6259}
0 commit comments