Accept Gradle build scan agreement (#30645)
Accept Gradle build scan agreement (#30645)

* Accept Gradle build scan argreement

Scans will be produced only when passing
`--scan`

* Condition TOS acceptance with property

* Switch to boolean flags

gingerwizard/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,HonzaKral/elasticsearch,nknize/elasticsearch,HonzaKral/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,gfyoung/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,gfyoung/elasticsearch,scorpionvicky/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,robin13/elasticsearch,gfyoung/elasticsearch,HonzaKral/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,scorpionvicky/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,coding0011/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,gfyoung/elasticsearch,gfyoung/elasticsearch,nknize/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,HonzaKral/elasticsearch,scorpionvicky/elasticsearch,nknize/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,scorpionvicky/elasticsearch,uschindler/elasticsearch