Skip to content

Commit

Permalink
use grails-gradle-plugin:6.2.1 for testapp profile
Browse files Browse the repository at this point in the history
extra variable will be removed for 6.0.x branch which will use grails-gradle-plugin:7.0.0-SNAPSHOT
  • Loading branch information
jamesfredley committed Oct 10, 2024
1 parent 8f970e7 commit ec29b1a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ projectGroup=org.grails.plugins
projectVersion=5.0.0-SNAPSHOT
grailsVersion=6.1.1
grailsGradlePluginVersion=6.1.1
grailsGradlePluginForProfileVersion=6.2.1
gradlePublishPlugin=1.3.0
springSecurityCoreVersion=6.1.1
pac4jVersion=5.7.2
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ include 'spring-security-rest-memcached'
include 'spring-security-rest-redis'
include 'spring-security-rest-grailscache'
include 'spring-security-rest-gorm'
// include 'spring-security-rest-testapp-profile' // See https://github.com/grails/grails-spring-security-rest/pull/521#issuecomment-2380242985 for why this is commented out
include 'spring-security-rest-testapp-profile'
include 'spring-security-rest-docs'

19 changes: 16 additions & 3 deletions spring-security-rest-testapp-profile/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
buildscript {
repositories {
mavenCentral()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginForProfileVersion"
}
}

plugins {
id 'maven-publish'
id 'signing'
}

task generateProfileConfig () {
copy {
from 'profile.yml.tmpl'
Expand All @@ -14,6 +29,4 @@ task generateProfileConfig () {
expand pluginVersion: project.version
}
}
}

compileProfile.dependsOn generateProfileConfig
}

0 comments on commit ec29b1a

Please sign in to comment.