Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ if(isReleaseVersion) {
subprojects {
version = rootProject.version
repositories {
mavenLocal() // Used by Groovy Joint Workflow
mavenCentral()
maven { url = 'https://repo.grails.org/grails/core' }
// mavenLocal() // Keep, this will be uncommented and used by CI (groovy-joint-workflow)
if (libs.versions.groovy.get().endsWith('-SNAPSHOT')) {
maven {
name = 'JFrog Groovy snapshot repo'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

<conversionRule conversionWord="clr" converterClass="org.springframework.boot.logging.logback.ColorConverter" />
<conversionRule conversionWord="wex" converterClass="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />
<conversionRule conversionWord="clr" class="org.springframework.boot.logging.logback.ColorConverter" />
<conversionRule conversionWord="wex" class="org.springframework.boot.logging.logback.WhitespaceThrowableProxyConverter" />

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<withJansi>true</withJansi>
Expand Down
7 changes: 5 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ micronaut-serde-jackson = '2.10.2'
objenesis = '3.3'
rxjava = '1.3.8'
rxjava2 = '2.2.21'
slf4j = '1.7.36'
slf4j = '2.0.16'
spock = '2.3-groovy-4.0'
spring = '6.1.13'
tomcat = '10.1.31'

[libraries]
bytebuddy = { module = 'net.bytebuddy:byte-buddy', version.ref = 'bytebuddy' }
Expand All @@ -33,15 +34,17 @@ objenesis = { module = 'org.objenesis:objenesis', version.ref = 'objenesis' }
rxjava = { module = 'io.reactivex:rxjava', version.ref = 'rxjava' }
rxjava2 = { module = 'io.reactivex.rxjava2:rxjava', version.ref = 'rxjava2' }
slf4j-api = { module = 'org.slf4j:slf4j-api', version.ref = 'slf4j' }
slf4j-nop = { module = 'org.slf4j:slf4j-nop', version.ref = 'slf4j' }
slf4j-simple = { module = 'org.slf4j:slf4j-simple', version.ref = 'slf4j' }
servlet-api = { module = 'javax.servlet:javax.servlet-api', version = '4.0.1' }
spock-core = { module = 'org.spockframework:spock-core', version.ref = 'spock' }
spring-beans = { module = 'org.springframework:spring-beans', version.ref = 'spring' }
spring-core = { module = 'org.springframework:spring-core', version.ref = 'spring' }
spring-context = { module = 'org.springframework:spring-context', version.ref = 'spring' }
spring-test = { module = 'org.springframework:spring-test', version.ref = 'spring' }
spring-tx = { module = 'org.springframework:spring-tx', version.ref = 'spring' }
spring-web = { module = 'org.springframework:spring-web', version.ref = 'spring' }
micronaut-serde-jackson = { module = 'io.micronaut.serde:micronaut-serde-jackson', version.ref = 'micronaut-serde-jackson' }
micronaut-http-client = { module = 'io.micronaut:micronaut-http-client', version.ref = 'micronaut-http-client' }
grails-views-json = { module = 'org.grails.plugins:views-json', version.ref = 'grails-views' }
grails-views-json-templates = { module = 'org.grails.plugins:views-json-templates', version.ref = 'grails-views' }
tomcat-servletApi = { module = 'org.apache.tomcat:tomcat-servlet-api', version.ref = 'tomcat' }
2 changes: 1 addition & 1 deletion grails-async-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {
testRuntimeOnly libs.bytebuddy
testRuntimeOnly libs.objenesis

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class FutureTaskPromiseFactorySpec extends Specification {

when: 'a promise is chained'
def promise = Promises.createPromise { 1 + 1 }
promise = promise.then { it * 2 } then { throw new RuntimeException('bad') } then { it + 6 }
promise = promise.then { it * 2 } then { throw new RuntimeException('explicitly forced exception') } then { it + 6 }
def val = promise.get()

then: 'the chain is executed'
Expand Down
2 changes: 1 addition & 1 deletion grails-async-gpars/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
2 changes: 1 addition & 1 deletion grails-async-rxjava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task
}

apply from: rootProject.layout.projectDirectory.file('gradle/java-config.gradle')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ class RxJavaPromiseListSpec extends Specification{
list << { 1 }
def promise = list
.then { it << 2; it }
.then {
Thread.dumpStack()
it << 3; it
}
.then { it << 3; it }
def result = promise.get()

then: 'an appropriately populated list is produced'
Expand Down
2 changes: 1 addition & 1 deletion grails-async-rxjava2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ class RxPromiseListSpec extends Specification {
list << { 1 }
def promise = list
.then { it << 2; it }
.then {
Thread.dumpStack()
it << 3; it
}
.then { it << 3; it }
def result = promise.get()

then: 'An appropriately populated list is produced'
Expand Down
2 changes: 1 addition & 1 deletion grails-events-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
2 changes: 1 addition & 1 deletion grails-events-rxjava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
testImplementation libs.spock.core
testImplementation libs.spring.context

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
2 changes: 1 addition & 1 deletion grails-events-rxjava2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
2 changes: 1 addition & 1 deletion grails-events-spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
2 changes: 1 addition & 1 deletion grails-events-transform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
}
testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task
}

apply from: rootProject.layout.projectDirectory.file('gradle/java-config.gradle')
Expand Down
5 changes: 4 additions & 1 deletion grails-plugin-async/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.spring.test
testRuntimeOnly libs.tomcat.servletApi

testCompileOnly libs.spring.test
}

apply from: rootProject.layout.projectDirectory.file('gradle/grails-plugin-config.gradle')
Expand Down
2 changes: 1 addition & 1 deletion grails-plugin-events/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {

testImplementation libs.spock.core

testRuntimeOnly libs.slf4j.nop // Get rid of warning about missing slf4j implementation during test task
testRuntimeOnly libs.slf4j.simple // Get rid of warning about missing slf4j implementation during test task

}

Expand Down
Loading