Skip to content
Draft
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
1 change: 0 additions & 1 deletion grails-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dependencies {
api 'jakarta.persistence:jakarta.persistence-api'
api 'jakarta.annotation:jakarta.annotation-api'

implementation 'com.github.ben-manes.caffeine:caffeine'
api 'org.apache.groovy:groovy'
api 'org.springframework.boot:spring-boot'
api 'org.springframework:spring-core'
Expand Down
1 change: 0 additions & 1 deletion grails-data-mongodb/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ dependencies {
exclude group: 'jakarta.inject', module: 'jakarta.inject-api'
exclude group: 'jakarta.persistence', module: 'jakarta.persistence-api'
exclude group: 'org.apache.grails.bootstrap', module: 'grails-bootstrap'
exclude group: 'org.apache.grails.data', module: 'grails-datastore-core'
exclude group: 'org.apache.grails', module: 'grails-spring'
exclude group: 'org.springframework', module: 'spring-beans'
exclude group: 'org.springframework', module: 'spring-context'
Expand Down
10 changes: 7 additions & 3 deletions grails-data-simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ dependencies {
// api: PlatformTransactionManager
}

// RemovalListener (caffeine)
implementation "com.github.ben-manes.caffeine:caffeine"

compileOnly 'org.apache.groovy:groovy', {
// comp: CompileStatic
}
Expand All @@ -98,3 +95,10 @@ apply {
from rootProject.layout.projectDirectory.file('gradle/test-config.gradle')
from rootProject.layout.projectDirectory.file('gradle/docs-config.gradle')
}

// Without this, the the groovydoc task will fail:
// | Execution failed for task ':grails-data-simple:groovydoc'.
// | > A failure occurred while executing org.gradle.api.internal.tasks.GroovydocAntAction
// | > java.lang.NoClassDefFoundError: com/github/benmanes/caffeine/cache/RemovalListener
// Caffeine is on the runtimeClasspath via grails-datastore-core
dependencies.add('documentation', 'com.github.ben-manes.caffeine:caffeine')
1 change: 0 additions & 1 deletion grails-datastore-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ dependencies {
// provided: Logger, LoggerFactory
}


testImplementation project(':grails-datamapping-core'), {
// we only need the @grails.gorm.annotation.Entity annotation to test GORM syntax mapping
transitive = false
Expand Down
5 changes: 4 additions & 1 deletion grails-rest-transforms/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ dependencies {
api project(':grails-converters')
api 'org.apache.groovy:groovy'

implementation 'com.github.ben-manes.caffeine:caffeine'
implementation 'com.github.ben-manes.caffeine:caffeine', {
// impl: Cache, Caffeine
}

testImplementation project(':grails-url-mappings')
testImplementation project(':grails-test-suite-base')

Expand Down
5 changes: 4 additions & 1 deletion grails-web-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ dependencies {

api 'org.springframework:spring-webmvc'
api 'org.springframework:spring-context-support'
implementation 'com.github.ben-manes.caffeine:caffeine'

implementation 'com.github.ben-manes.caffeine:caffeine', {
// impl: Cache, Caffeine
}

compileOnly 'jakarta.servlet:jakarta.servlet-api'
compileOnly 'org.springframework:spring-test', {
Expand Down
4 changes: 3 additions & 1 deletion grails-web-url-mappings/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ dependencies {
testRuntimeOnly 'org.fusesource.jansi:jansi'
compileOnly 'jline:jline'

implementation 'com.github.ben-manes.caffeine:caffeine'
implementation 'com.github.ben-manes.caffeine:caffeine', {
// impl: Cache, Caffeine, Weigher
}

testImplementation project(':grails-test-suite-base')

Expand Down
Loading