Consolidated Home for Grails Profiles
clone https://github.com/grails/grails-core
./gradlew assemble
unzip build/distributions/grails-7.0.0-SNAPSHOT.zip
bin/grails
Verify profiles.version in grails-core/build.gradle matches version from https://github.com/grails/grails-profiles
Create USER_HOME/.grails/settings.groovy
grails {
profiles {
repositories {
mavenLocal()
grailsCentral {
url = "https://repo.grails.org/grails/core"
snapshotsEnabled = true
}
}
}
}
clone https://github.com/grails/grails-profiles
./gradlew build
./gradlew publishToMavenLocal
mkdir testProfiles
cd testProfiles/
{path to grails-shell cli snapshot}/grails create-app TestProfile
./gradlew dependencies --refresh-dependencies
- Review TestProfile application
- force the application to pull the mavenLocal() profile into the generated application with ./gradlew dependencies --refresh-dependencies
- makes changes to grails-profiles project
- republish grails-profiles to mavenLocal()
- delete contents of TestProfile application
- regenerate with ./grails create-app TestProfile
- Repeat