File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed
Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 11productDescription =Solana IDL Source Generator
22javaVersion =25
3- solanaBOMVersion =25.5 .3
3+ solanaBOMVersion =25.10 .3
Original file line number Diff line number Diff line change @@ -3,16 +3,30 @@ rootProject.name = "anchor-src-gen"
33pluginManagement {
44 repositories {
55 gradlePluginPortal()
6- maven {
7- name = " savaGithubPackages"
8- url = uri(" https://maven.pkg.github.com/sava-software/sava-build" )
9- credentials(PasswordCredentials ::class )
6+ mavenCentral()
7+ val gprUser = providers.gradleProperty(" savaGithubPackagesUsername" )
8+ .orElse(providers.environmentVariable(" ORG_GRADLE_PROJECT_savaGithubPackagesUsername" ))
9+ .orElse(providers.environmentVariable(" GITHUB_ACTOR" ))
10+ .orNull
11+ val gprToken = providers.gradleProperty(" savaGithubPackagesPassword" )
12+ .orElse(providers.environmentVariable(" ORG_GRADLE_PROJECT_savaGithubPackagesPassword" ))
13+ .orElse(providers.environmentVariable(" GITHUB_TOKEN" ))
14+ .orNull
15+ if (! gprUser.isNullOrBlank() && ! gprToken.isNullOrBlank()) {
16+ maven {
17+ url = uri(" https://maven.pkg.github.com/sava-software/sava-build" )
18+ credentials {
19+ username = gprUser
20+ password = gprToken
21+ }
22+ }
1023 }
24+ // includeBuild("../sava-build")
1125 }
1226}
1327
1428plugins {
15- id(" software.sava.build" ) version " 0 .3.0 "
29+ id(" software.sava.build" ) version " 21 .3.3 "
1630}
1731
1832apply (plugin = " software.sava.build.feature-jdk-provisioning" )
You can’t perform that action at this time.
0 commit comments