Skip to content

Commit

Permalink
Replace Maven local with Solutions repository
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev committed Aug 25, 2023
1 parent 4e1bc77 commit be5e5b5
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,26 @@ plugins {
group = "com.gradle"

repositories {
mavenLocal()
maven {
name = "Solutions"
url = uri("https://repo.gradle.org/artifactory/solutions")
credentials {
username = providers
.environmentVariable("GRADLE_SOLUTIONS_REPOSITORY_USERNAME")
.orElse(providers.gradleProperty("gradleSolutionsRepositoryUsername"))
.get()
password = providers
.environmentVariable("GRADLE_SOLUTIONS_REPOSITORY_PASSWORD")
.orElse(providers.gradleProperty("gradleSolutionsRepositoryPassword"))
.get()
}
authentication {
create<BasicAuthentication>("basic")
}
content {
includeModule("com.gradle.enterprise", "build-scan-summary")
}
}
exclusiveContent {
forRepository {
ivy {
Expand Down

0 comments on commit be5e5b5

Please sign in to comment.