| plugins { | |
| id 'com.gradle.enterprise' version '3.13.2' | |
| id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10' | |
| } | |
| def isTravisCI = System.getenv('TRAVIS_JOB_ID') != null | |
| def isJenkins = System.getenv('JENKINS_URL') != null | |
| def isCI = isTravisCI || isJenkins | |
| gradleEnterprise { | |
| server = "https://ge.apache.org" | |
| buildScan { | |
| capture { taskInputFiles = true } | |
| uploadInBackground = !isCI | |
| publishAlways() | |
| publishIfAuthenticated() | |
| obfuscation { | |
| // This obfuscates the IP addresses of the build machine in the build scan. | |
| // Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues. | |
| ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} } | |
| } | |
| } | |
| } | |
| buildCache { | |
| local { | |
| enabled = !isCI | |
| } | |
| remote(gradleEnterprise.buildCache) { | |
| enabled = false | |
| } | |
| } | |
| include "plastic", "tapestry5-annotations", "tapestry-test", "tapestry-func", "tapestry-ioc", "tapestry-json", "tapestry-http", "tapestry-core" | |
| include "tapestry-hibernate-core", "tapestry-hibernate", "tapestry-jmx", "tapestry-upload" | |
| include "tapestry-beanvalidator", "tapestry-jpa", "tapestry-kaptcha" | |
| if (JavaVersion.current() != JavaVersion.VERSION_1_8) { | |
| include "tapestry-javadoc" | |
| } | |
| if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { | |
| include "tapestry-latest-java-tests", "tapestry-spring" | |
| } | |
| include "quickstart", "tapestry-clojure", "tapestry-mongodb" | |
| include "tapestry-test-data", 'tapestry-internal-test', "tapestry-ioc-junit" | |
| include "tapestry-webresources", "tapestry-runner", "tapestry-test-constants" | |
| include "tapestry-ioc-jcache", "beanmodel", "commons", "genericsresolver-guava", "tapestry-version-migrator" | |
| // include "tapestry-cdi" | |
| include "tapestry-spock", "tapestry-openapi-viewer", "tapestry-rest-jackson" |