Skip to content

Commit

Permalink
Grace: update build scripts
Browse files Browse the repository at this point in the history
Update plugin info
  • Loading branch information
rainboyan committed Mar 2, 2024
1 parent 51fcc39 commit 87f854f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ subprojects { project->
apply plugin: "org.gradle.test-retry"
apply plugin: "io.spring.dependency-management"

if (project.name.startsWith('grace-plugin')) {
apply plugin: 'org.graceframework.grace-plugin'
}

sourceCompatibility = 11
targetCompatibility = 11

Expand Down
6 changes: 6 additions & 0 deletions grace-plugin-async/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ dependencies {
testImplementation "org.graceframework:grace-test:$graceVersion"
testImplementation "org.springframework:spring-test:$springVersion"
}

jar {
enabled = true
archiveClassifier.set('')
includeEmptyDirs = false
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import org.springframework.context.annotation.Role
* @since 2.0
*/
class ControllersAsyncGrailsPlugin extends Plugin {
def grailsVersion = "3.3.0 > *"
def grailsVersion = "2022.0.0 > *"
def loadAfter = ['controllers']
Closure doWithSpring() {{->
asyncPromiseResponseActionResultTransformer(AsyncActionResultTransformer)
Expand Down
6 changes: 6 additions & 0 deletions grace-plugin-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ dependencies {
api project(":grace-events"), project(":grace-events-transform")
api project(":grace-events-compat")
}

jar {
enabled = true
archiveClassifier.set('')
includeEmptyDirs = false
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import reactor.bus.EventBus
@Slf4j
class EventBusGrailsPlugin extends Plugin {

def grailsVersion = "3.3.0 > *"
def grailsVersion = "2022.0.0 > *"

/**
* Whether to translate GORM events into reactor events
Expand Down
4 changes: 2 additions & 2 deletions publishing/mavenCentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ ext."signing.password" = rootProject.hasProperty("signing.password") ? rootProje
ext."signing.secretKeyRingFile" = rootProject.hasProperty("signing.secretKeyRingFile") ? rootProject.getProperty('signing.secretKeyRingFile') : "${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg"

ext.pomInfo = {
delegate.url 'https://async.graceframework.org/latest/'
delegate.url 'https://github.com/graceframework/grace-async'
delegate.licenses {
delegate.license {
delegate.name 'The Apache Software License, Version 2.0'
delegate.url 'https://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
delegate.scm {
delegate.url 'https://github.com/graceframework/grace-async/'
delegate.url 'https://github.com/graceframework/grace-async'
delegate.connection 'scm:git:git://github.com/graceframework/grace-async'
delegate.developerConnection 'scm:git:ssh://github.com:graceframework/grace-async'
}
Expand Down

0 comments on commit 87f854f

Please sign in to comment.