File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,16 @@ import grails.doc.gradle.PublishGuide
33buildscript {
44 repositories {
55 maven { url = ' https://repo.grails.org/grails/core' }
6+ if (System . getenv(" GITHUB_MAVEN_PASSWORD" ) && ! grailsVersion. endsWith(' -SNAPSHOT' )) {
7+ System . out. println (" Adding Grails Core Repo" )
8+ maven {
9+ url = ' https://maven.pkg.github.com/grails/grails-core'
10+ credentials {
11+ username = ' DOES_NOT_MATTER'
12+ password = System . getenv(" GITHUB_MAVEN_PASSWORD" )
13+ }
14+ }
15+ }
616 }
717 dependencies {
818 classpath " org.grails:grails-docs:$grailsVersion "
Original file line number Diff line number Diff line change 11buildscript {
22 repositories {
33 maven { url = ' https://repo.grails.org/grails/core' }
4+ if (System . getenv(" GITHUB_MAVEN_PASSWORD" ) && ! grailsVersion. endsWith(' -SNAPSHOT' )) {
5+ System . out. println (" Adding Grails Core Repo" )
6+ maven {
7+ url = ' https://maven.pkg.github.com/grails/grails-core'
8+ credentials {
9+ username = ' DOES_NOT_MATTER'
10+ password = System . getenv(" GITHUB_MAVEN_PASSWORD" )
11+ }
12+ }
13+ }
414 }
515 dependencies {
616 classpath platform(" org.grails:grails-bom:$grailsVersion " )
You can’t perform that action at this time.
0 commit comments