Skip to content

Commit 696a16e

Browse files
committed
develocity
1 parent 5813e86 commit 696a16e

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
id "jacoco"
88

99
id "maven-publish"
10-
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
10+
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
1111
id "publishing-config"
1212
id "signing-config"
1313
id "release-process"
@@ -64,7 +64,7 @@ tasks.withType( JavaCompile ).configureEach {javaCompile->
6464
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6565

6666
tasks.named( "javadoc", Javadoc ) {
67-
configure( options ) {
67+
options {
6868
use = true
6969
encoding = "UTF-8"
7070

settings.gradle

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ pluginManagement {
88
}
99
}
1010

11+
plugins {
12+
id 'com.gradle.develocity' version '3.17.4'
13+
}
14+
1115
rootProject.name = "hibernate-models"
1216

1317
dependencyResolutionManagement {
@@ -95,5 +99,30 @@ dependencyResolutionManagement {
9599
}
96100
}
97101

102+
develocity {
103+
server = 'https://ge.hibernate.org'
104+
105+
buildScan {
106+
capture {
107+
fileFingerprints = true
108+
}
109+
publishing.onlyIf { it.authenticated }
110+
111+
obfuscation {
112+
// Don't share ip addresses
113+
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0" } }
114+
}
115+
116+
// uploadInBackground = !settings.ext.isCiEnvironment
117+
//
118+
// tag "jdk-${settings.extensions.jdkVersions.test.launcher}"
119+
// tag settings.extensions.db
120+
// value 'database', settings.extensions.db
121+
//
122+
// if ( settings.extensions.findByName( 'ci.node' ) ) {
123+
// tag settings.extensions.findByName( 'ci.node' )
124+
// }
125+
}
126+
}
98127
}
99128

0 commit comments

Comments
 (0)