Skip to content

Commit 0ac12da

Browse files
committed
Add the build-scan-summary jar to the repository
1 parent b620f38 commit 0ac12da

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

Diff for: build.gradle.kts

+4-24
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,6 @@ plugins {
1313
group = "com.gradle"
1414

1515
repositories {
16-
maven {
17-
name = "Solutions"
18-
url = uri("https://repo.grdev.net/artifactory/enterprise-libs-snapshots-local")
19-
credentials {
20-
username = providers
21-
.environmentVariable("GRADLE_SOLUTIONS_REPOSITORY_USERNAME")
22-
.orElse(providers.gradleProperty("gradleSolutionsRepositoryUsername"))
23-
.get()
24-
password = providers
25-
.environmentVariable("GRADLE_SOLUTIONS_REPOSITORY_PASSWORD")
26-
.orElse(providers.gradleProperty("gradleSolutionsRepositoryPassword"))
27-
.get()
28-
}
29-
authentication {
30-
create<BasicAuthentication>("basic")
31-
}
32-
content {
33-
includeModule("com.gradle.develocity", "build-scan-summary")
34-
}
35-
}
3616
exclusiveContent {
3717
forRepository {
3818
ivy {
@@ -63,12 +43,10 @@ allprojects {
6343
}
6444

6545
val argbash by configurations.creating
66-
val commonComponents by configurations.creating
6746
val mavenComponents by configurations.creating
6847

6948
dependencies {
7049
argbash("argbash:argbash:2.10.0@zip")
71-
commonComponents("com.gradle.develocity:build-scan-summary:${buildScanSummaryVersion}")
7250
mavenComponents(project(":configure-gradle-enterprise-maven-extension"))
7351
mavenComponents("com.gradle:gradle-enterprise-maven-extension:1.18.4")
7452
mavenComponents("com.gradle:common-custom-user-data-maven-extension:1.13")
@@ -151,7 +129,8 @@ val copyGradleScripts by tasks.registering(Copy::class) {
151129
from(generateBashCliParsers.map { it.outputDir.file("lib/cli-parsers/gradle") }) {
152130
into("lib/scripts/")
153131
}
154-
from(commonComponents) {
132+
from(layout.projectDirectory.dir("components/develocity")) {
133+
include("build-scan-summary-${buildScanSummaryVersion}.jar")
155134
into("lib/develocity/")
156135
}
157136
into(layout.buildDirectory.dir("scripts/gradle"))
@@ -194,7 +173,8 @@ val copyMavenScripts by tasks.registering(Copy::class) {
194173
from(generateBashCliParsers.map { it.outputDir.file("lib/cli-parsers/maven") }) {
195174
into("lib/scripts/")
196175
}
197-
from(commonComponents) {
176+
from(layout.projectDirectory.dir("components/develocity")) {
177+
include("build-scan-summary-${buildScanSummaryVersion}.jar")
198178
into("lib/develocity/")
199179
}
200180
from(mavenComponents) {
Binary file not shown.

0 commit comments

Comments
 (0)