Skip to content

Commit 897e428

Browse files
committed
[skip ci] fix missing buildscript repo
1 parent 4242a18 commit 897e428

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

plugin/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
buildscript {
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")

0 commit comments

Comments
 (0)