This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.network "forwarded_port", guest: 8800, host: 8800 | |
config.vm.network "forwarded_port", guest: 80, host: 80 | |
config.vm.network "forwarded_port", guest: 443, host: 443 | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "8192" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copy the following file to 'gradle/build-scan-user-data.gradle' | |
// https://github.com/gradle/gradle-enterprise-build-config-samples/blob/master/common-custom-user-data-gradle-script/common-custom-user-data.gradle | |
apply from: 'gradle/build-scan-user-data.gradle' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "com.gradle.build-scan" version "3.5" | |
} | |
gradleEnterprise { | |
server = "https://localhost" | |
allowUntrustedServer = true | |
buildScan { | |
publishAlways() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hasher = services.get(org.gradle.internal.hash.ClassLoaderHierarchyHasher) | |
def classLoaderFactory = services.get(org.gradle.internal.classloader.HashingClassLoaderFactory) | |
project.afterEvaluate { | |
tasks.named('functionalTestMacosLatestGlobalAvailable') { task -> | |
for (int i = 0; i < task.actions.size(); i++) { | |
def action = task.actions[i] | |
def implementation = action.getActionImplementation(hasher) | |
buildScan.value "${task.path}:actions[${i}].class", implementation.typeName | |
buildScan.value "${task.path}:actions[${i}].hash", implementation.classLoaderHash.toString() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
homeDir=build/HOME | |
# Initialize empty Gradle User Home with settings to run build, including Develocity access keys | |
echo "Initializing Gradle User Home directory at $homeDir" | |
mkdir -p $homeDir | |
cp ~/.gradle/gradle.properties $homeDir | |
cp -r ~/.gradle/develocity $homeDir | |
cp -r ~/.gradle/enterprise $homeDir |
OlderNewer