File tree Expand file tree Collapse file tree 3 files changed +71
-4
lines changed Expand file tree Collapse file tree 3 files changed +71
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ java {
1515 }
1616}
1717
18- repositories {
19- mavenCentral()
20- }
21-
2218tasks.withType<Test > {
2319 useJUnitPlatform()
2420}
Original file line number Diff line number Diff line change 1+ pluginManagement {
2+ repositories {
3+ google {
4+ @Suppress(" UnstableApiUsage" )
5+ mavenContent {
6+ includeGroupAndSubgroups(" androidx" )
7+ includeGroupAndSubgroups(" com.android" )
8+ includeGroupAndSubgroups(" com.google" )
9+ }
10+ }
11+ mavenCentral()
12+ gradlePluginPortal()
13+ }
14+ }
15+
116plugins {
217 id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.9.0"
318}
419
520rootProject.name = " spring-quickstart-java"
21+
22+ val centralUsername = " 1O5XTFG2"
23+ val centralPassword = " 0/KFYoa1CDLyk28gzTAPiBnrSjqOPWeRVrUzyi2xCGXN"
24+ val base64 = " czlQNFB5VzE6Nk9sTUdOL0tYMnhxc0hUU0lrMEg3V0gyVHN5SjZIaUl1UU9Fc2drYVhkN0Y="
25+
26+ // Deployment ID will change when we upload a new release
27+ val deploymentId = " bcf7b762-9276-4223-a3ff-380f86d088bd"
28+
29+ dependencyResolutionManagement {
30+ @Suppress(" UnstableApiUsage" )
31+ repositories {
32+ maven {
33+ name = " centralManualTesting"
34+ url = uri(" https://central.sonatype.com/api/v1/publisher/deployment/$deploymentId /download/" )
35+ credentials {
36+ username = centralUsername
37+ password = centralPassword
38+ }
39+ authentication {
40+ create<BasicAuthentication >(" basic" )
41+ }
42+ mavenContent {
43+ includeGroup(" com.ditto" )
44+ }
45+ }
46+ google {
47+ mavenContent {
48+ includeGroupAndSubgroups(" androidx" )
49+ includeGroupAndSubgroups(" com.android" )
50+ includeGroupAndSubgroups(" com.google" )
51+ }
52+ }
53+ mavenCentral()
54+ }
55+ }
Original file line number Diff line number Diff line change @@ -17,9 +17,30 @@ pluginManagement {
1717 }
1818}
1919
20+ val centralUsername = " 1O5XTFG2"
21+ val centralPassword = " 0/KFYoa1CDLyk28gzTAPiBnrSjqOPWeRVrUzyi2xCGXN"
22+ val base64 = " czlQNFB5VzE6Nk9sTUdOL0tYMnhxc0hUU0lrMEg3V0gyVHN5SjZIaUl1UU9Fc2drYVhkN0Y="
23+
24+ // Deployment ID will change when we upload a new release
25+ val deploymentId = " bcf7b762-9276-4223-a3ff-380f86d088bd"
26+
2027dependencyResolutionManagement {
2128 @Suppress(" UnstableApiUsage" )
2229 repositories {
30+ maven {
31+ name = " centralManualTesting"
32+ url = uri(" https://central.sonatype.com/api/v1/publisher/deployment/$deploymentId /download/" )
33+ credentials {
34+ username = centralUsername
35+ password = centralPassword
36+ }
37+ authentication {
38+ create<BasicAuthentication >(" basic" )
39+ }
40+ mavenContent {
41+ includeGroup(" com.ditto" )
42+ }
43+ }
2344 google {
2445 mavenContent {
2546 includeGroupAndSubgroups(" androidx" )
You can’t perform that action at this time.
0 commit comments