@@ -13,26 +13,6 @@ plugins {
13
13
group = " com.gradle"
14
14
15
15
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
- }
36
16
exclusiveContent {
37
17
forRepository {
38
18
ivy {
@@ -63,12 +43,10 @@ allprojects {
63
43
}
64
44
65
45
val argbash by configurations.creating
66
- val commonComponents by configurations.creating
67
46
val mavenComponents by configurations.creating
68
47
69
48
dependencies {
70
49
argbash(" argbash:argbash:2.10.0@zip" )
71
- commonComponents(" com.gradle.develocity:build-scan-summary:${buildScanSummaryVersion} " )
72
50
mavenComponents(project(" :configure-gradle-enterprise-maven-extension" ))
73
51
mavenComponents(" com.gradle:gradle-enterprise-maven-extension:1.18.4" )
74
52
mavenComponents(" com.gradle:common-custom-user-data-maven-extension:1.13" )
@@ -151,7 +129,8 @@ val copyGradleScripts by tasks.registering(Copy::class) {
151
129
from(generateBashCliParsers.map { it.outputDir.file(" lib/cli-parsers/gradle" ) }) {
152
130
into(" lib/scripts/" )
153
131
}
154
- from(commonComponents) {
132
+ from(layout.projectDirectory.dir(" components/develocity" )) {
133
+ include(" build-scan-summary-${buildScanSummaryVersion} .jar" )
155
134
into(" lib/develocity/" )
156
135
}
157
136
into(layout.buildDirectory.dir(" scripts/gradle" ))
@@ -194,7 +173,8 @@ val copyMavenScripts by tasks.registering(Copy::class) {
194
173
from(generateBashCliParsers.map { it.outputDir.file(" lib/cli-parsers/maven" ) }) {
195
174
into(" lib/scripts/" )
196
175
}
197
- from(commonComponents) {
176
+ from(layout.projectDirectory.dir(" components/develocity" )) {
177
+ include(" build-scan-summary-${buildScanSummaryVersion} .jar" )
198
178
into(" lib/develocity/" )
199
179
}
200
180
from(mavenComponents) {
0 commit comments