Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6d03b87

Browse files
committed
[skip ci] add missing github pre release repo
1 parent a1d5e11 commit 6d03b87

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/spring-boot-hibernate/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ buildscript {
22
repositories {
33
mavenCentral()
44
maven { url "https://repo.grails.org/grails/core" }
5+
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
6+
System.out.println("Adding Grails Core Repo for ${project.name}")
7+
maven {
8+
url = 'https://maven.pkg.github.com/grails/grails-core'
9+
credentials {
10+
username = 'DOES_NOT_MATTER'
11+
password = System.getenv("GITHUB_MAVEN_PASSWORD")
12+
}
13+
}
14+
}
515
}
616
dependencies {
717
classpath platform("org.grails:grails-bom:$grailsVersion")

0 commit comments

Comments
 (0)