mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
Update gradle enterprise setup (#17399)
* Set remote build cache to push only if authenticated * Bumped Gradle enterprise extension to 1.20 and CCUD extension to 1.12.5 * Removed duplicated <storeEnabled> line from gradle-enterprise.xml * Removed addressed comment
This commit is contained in:
parent
e127ba3d0c
commit
63f09ee846
@ -3,11 +3,11 @@
|
||||
<extension>
|
||||
<groupId>com.gradle</groupId>
|
||||
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||
<version>1.17</version>
|
||||
<version>1.20</version>
|
||||
</extension>
|
||||
<extension>
|
||||
<groupId>com.gradle</groupId>
|
||||
<artifactId>common-custom-user-data-maven-extension</artifactId>
|
||||
<version>1.11.1</version>
|
||||
<version>1.12.5</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
|
@ -46,7 +46,8 @@
|
||||
</credentials>
|
||||
</server>
|
||||
<enabled>true</enabled> <!-- must be true for this experiment -->
|
||||
<storeEnabled>#{env['CI'] != null}</storeEnabled> <!-- adjust to an env var that is always present only in your CI environment -->
|
||||
<!-- Check credentials presence to avoid build cache errors on PR builds when credentials are not present -->
|
||||
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_CACHE_USERNAME']) and isTrue(env['GRADLE_ENTERPRISE_CACHE_PASSWORD'])}</storeEnabled>
|
||||
</remote>
|
||||
</buildCache>
|
||||
</gradleEnterprise>
|
||||
|
Loading…
x
Reference in New Issue
Block a user