build - Update Gradle task to v3 (#1580)

This commit is contained in:
Sheng Chen 2024-08-13 12:35:41 +08:00 коммит произвёл GitHub
Родитель 070feb30fd
Коммит d8d6c93577
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -74,13 +74,13 @@ extends:
SourceFolder: '$(System.ArtifactsDirectory)/build-server/server/build/libs/runtime'
Contents: '**'
TargetFolder: $(Build.SourcesDirectory)/gradle-server/build/libs/runtime
- task: Gradle@2
- task: Gradle@3
displayName: Build
inputs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
tasks: 'build'
- task: Gradle@2
- task: Gradle@3
displayName: PrepareForRelease
inputs:
gradleWrapperFile: 'gradlew'
@ -89,7 +89,7 @@ extends:
- bash: chmod +x gradle-server
workingDirectory: $(Build.SourcesDirectory)/extension/lib
displayName: Set permission
- task: Gradle@2
- task: Gradle@3
displayName: Build Gradle Build Server Importer
inputs:
gradleWrapperFile: 'gradlew'

Просмотреть файл

@ -74,7 +74,7 @@ extends:
SourceFolder: '$(System.ArtifactsDirectory)/build-server/server/build/libs/runtime'
Contents: '**'
TargetFolder: $(Build.SourcesDirectory)/gradle-server/build/libs/runtime
- task: Gradle@2
- task: Gradle@3
displayName: Build
inputs:
gradleWrapperFile: 'gradlew'
@ -87,7 +87,7 @@ extends:
sudo apt-get update
sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 libgbm1
sudo /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- task: Gradle@2
- task: Gradle@3
displayName: Test VSCode
env:
DISPLAY: ":99.0"
@ -99,7 +99,7 @@ extends:
cd $(Build.SourcesDirectory)/extension/lib
chmod +x gradle-server
displayName: Set permission
- task: Gradle@2
- task: Gradle@3
displayName: Build Gradle Build Server Importer
inputs:
gradleWrapperFile: 'gradlew'

Просмотреть файл

@ -79,13 +79,13 @@ extends:
SourceFolder: '$(System.ArtifactsDirectory)/build-server/server/build/libs/runtime'
Contents: '**'
TargetFolder: $(Build.SourcesDirectory)/gradle-server/build/libs/runtime
- task: Gradle@2
- task: Gradle@3
displayName: Build
inputs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
tasks: 'build'
- task: Gradle@2
- task: Gradle@3
displayName: PrepareForRelease
inputs:
gradleWrapperFile: 'gradlew'
@ -148,7 +148,7 @@ extends:
inputs:
artifact: 'NOTICE.txt'
path: $(Build.SourcesDirectory)/extension
- task: Gradle@2
- task: Gradle@3
displayName: Build Gradle Build Server Importer
inputs:
gradleWrapperFile: 'gradlew'

Просмотреть файл

@ -79,13 +79,13 @@ extends:
SourceFolder: '$(System.ArtifactsDirectory)/build-server/server/build/libs/runtime'
Contents: '**'
TargetFolder: $(Build.SourcesDirectory)/gradle-server/build/libs/runtime
- task: Gradle@2
- task: Gradle@3
displayName: Build
inputs:
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
tasks: 'build'
- task: Gradle@2
- task: Gradle@3
displayName: PrepareForRelease
inputs:
gradleWrapperFile: 'gradlew'
@ -143,7 +143,7 @@ extends:
inputs:
artifact: 'NOTICE.txt'
path: $(Build.SourcesDirectory)/extension
- task: Gradle@2
- task: Gradle@3
displayName: Build Gradle Build Server Importer
inputs:
gradleWrapperFile: 'gradlew'