Remove failOnStderr from Gradle cmakeCheck (#20919)

### Description
Remove failOnStderr from Gradle cmakeCheck



### Motivation and Context
The Gradle is still using the deprecated API
This commit is contained in:
Jian Chen 2024-06-04 13:54:49 -07:00 committed by GitHub
parent 6dfdef7782
commit 5faeaf6437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,6 @@ steps:
@echo on
call gradlew.bat cmakeCheck -DcmakeBuildDir=$(Build.BinariesDirectory)\RelWithDebInfo
workingDirectory: $(Build.SourcesDirectory)\java
failOnStderr: ${{ not(parameters.buildOnly) }}
- task: CmdLine@2
displayName: 'Add symbols and notices to Java'