diff --git a/gradle.properties b/gradle.properties index 85e813ed..d1f4de1b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/settings.gradle b/settings.gradle index aa3dda25..6329f2b8 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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' diff --git a/spring-security-rest-testapp-profile/build.gradle b/spring-security-rest-testapp-profile/build.gradle index 67786c91..31d8be6f 100644 --- a/spring-security-rest-testapp-profile/build.gradle +++ b/spring-security-rest-testapp-profile/build.gradle @@ -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' @@ -14,6 +29,4 @@ task generateProfileConfig () { expand pluginVersion: project.version } } -} - -compileProfile.dependsOn generateProfileConfig \ No newline at end of file +} \ No newline at end of file