build: update develocity auth
1 file changed
tree: 50220ca34d52f1c9b97c333ba4fec156b8bc8c26
  1. .github/
  2. angular/
  3. angular-test/
  4. base/
  5. gradle/
  6. plugin/
  7. plugin-test/
  8. profile/
  9. react/
  10. react-test/
  11. rest-api/
  12. rest-api-plugin/
  13. rest-api-plugin-test/
  14. rest-api-test/
  15. vue/
  16. vue-test/
  17. web/
  18. web-plugin/
  19. web-plugin-test/
  20. web-test/
  21. .gitignore
  22. build.gradle
  23. gradle.properties
  24. gradlew
  25. gradlew.bat
  26. README.md
  27. settings.gradle
README.md

grails-profiles

Consolidated Home for Grails Profiles

How to configure local development environment for Grails Profiles testing

Build the latest grails-shell CLI snapshot

clone https://github.com/grails/grails-core
./gradlew assemble
unzip build/distributions/grails-7.0.0-SNAPSHOT.zip
bin/grails

Profiles version

Verify profiles.version in grails-core/build.gradle matches version from https://github.com/grails/grails-profiles

Configure grails-shell CLI to use mavenLocal() profiles

Create USER_HOME/.grails/settings.groovy

grails {
    profiles {
        repositories {
        mavenLocal()
        grailsCentral {
            url = "https://repo.grails.org/grails/core"
            snapshotsEnabled = true
            }
        }
    }
}

Publish profiles to mavenLocal()

clone https://github.com/grails/grails-profiles
./gradlew build
./gradlew publishToMavenLocal

Use grails-shell CLI -SNAPSHOT to generate test application from profile

mkdir testProfiles
cd testProfiles/
{path to grails-shell cli snapshot}/grails create-app TestProfile
./gradlew dependencies --refresh-dependencies

Iterative testing of profile changes

  • 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