https://github.com/xwiki/xwiki-commons
Raw File
Tip revision: c524b7e6516d78c6f3277336cb6e79dca8026568 authored by Clément Aubin on 10 December 2021, 08:17:17 UTC
Revert "XCOMMONS-2326 : Remove dependency to maven-resolver-transport-http in"
Tip revision: c524b7e
gradle-enterprise.xml
<?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<gradleEnterprise
    xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
  <server>
    <url>https://ge.xwiki.org</url>
  </server>
  <buildScan>
    <publishIfAuthenticated>true</publishIfAuthenticated>
    <!-- Always publish build scans on CI but on demand for devs so that we don't get false positives on ge.xwiki.org
         due to local changes from users and so that it doesn't pollute the ge.xwiki.org data.
         To force publishing a build scan: -Dscan -->
    <publish>#{env['CI'] == null ? 'ON_DEMAND' : 'ALWAYS'}</publish>
    <captureGoalInputFiles>true</captureGoalInputFiles>
    <!-- Use background scans only locally to avoid potential issues on CI (the ephemeral docker agent could terminate
         as soon as the build is finished and thus the upload may be terminated before it completes) -->
    <backgroundBuildScanUpload>#{env['CI'] == null}</backgroundBuildScanUpload>
  </buildScan>
  <buildCache>
    <!-- Notes:
         * To disable the local build cache on the command line, pass: -Dgradle.cache.local.enabled=false
         * We disable the local build cache on CI since our agents are transients and isolated, and thus it would cost
           more to save the goal outputs since they're not going to be re-used.
    -->
    <local>
      <enabled>#{env['CI'] == null}</enabled>
    </local>
    <remote>
      <enabled>true</enabled>
      <!-- Only CI jobs are allowed to store build outputs in the remote cache -->
      <storeEnabled>#{env['CI'] != null}</storeEnabled>
    </remote>
  </buildCache>
</gradleEnterprise>
back to top