Skip to content

Commit

Permalink
build - switch to grailsPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaugherty committed Nov 4, 2024
1 parent d056b02 commit 2770520
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 104 deletions.
20 changes: 16 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ buildscript {
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
classpath "io.github.gradle-nexus:publish-plugin:$gradlePublishPlugin"
classpath 'com.adarshr:gradle-test-logger-plugin:4.0.0'
}
}

plugins {
id 'idea'
id 'io.github.gradle-nexus.publish-plugin' version "$gradlePublishPlugin"
id "com.github.ben-manes.versions" version "0.39.0"
}

Expand All @@ -29,7 +27,7 @@ def publishedProjects = pluginProjects + profileProjects
version projectVersion

subprojects { Project project ->
group projectGroup
group "org.grails.plugins"
version projectVersion

ext {
Expand Down Expand Up @@ -93,7 +91,21 @@ subprojects { Project project ->
}

if (project.name in publishedProjects) {
apply from: rootProject.file("gradle/publishing.gradle")
if(project.name in profileProjects) {
apply plugin:"org.grails.internal.grails-profile-publish"
}
else {
apply plugin:"org.grails.internal.grails-plugin-publish"
}

grailsPublish {
userOrg = 'grails'
githubSlug = 'grails/grails-spring-security-rest'
license = 'Apache-2.0'
title = "Spring Security REST plugin"
desc = "Grails plugin to implement token-based, RESTful authentication using Spring Security"
developers = [alvarosanchez:"Alvaro Sanchez-Mariscal", jameskleeh:"James Kleeh", jdaugherty:"James Daugherty"]
}
}
}

Expand Down
14 changes: 3 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
projectGroup=org.grails.plugins
projectVersion=5.0.0
projectVersion=5.0.0-SNAPSHOT
grailsVersion=6.1.1
grailsGradlePluginVersion=6.1.1
grailsGradlePluginVersion=6.2.1
grailsGradlePluginForProfileVersion=6.2.1
gradlePublishPlugin=1.3.0
springSecurityCoreVersion=6.1.1
pac4jVersion=5.7.2
jackson.version=2.15.0

# Publish Information
title=Spring Security REST plugin
projectDesc=Grails plugin to implement token-based, RESTful authentication using Spring Security
projectUrl=https://github.com/grails/grails-spring-security-rest
githubSlug=grails/grails-spring-security-rest
jackson.version=2.15.0
89 changes: 0 additions & 89 deletions gradle/publishing.gradle

This file was deleted.

0 comments on commit 2770520

Please sign in to comment.