| plugins { |
| id 'groovy' |
| id 'java-library' |
| } |
| |
| version = projectVersion |
| group = 'org.apache.grails.data' |
| |
| dependencies { |
| |
| implementation platform("org.apache.grails:grails-bom:$grailsVersion") |
| |
| api 'org.apache.grails.async:grails-async-core', { |
| // ast: DelegateAsyncUtils, Promise, Promises |
| } |
| |
| implementation 'org.apache.groovy:groovy', { |
| // impl: GroovyASTTransformationClass, etc |
| } |
| |
| compileOnly 'jakarta.annotation:jakarta.annotation-api', { |
| // comp: Documented, ElementType, Retention, RetentionPolicy, Target |
| } |
| |
| testImplementation 'org.spockframework:spock-core' |
| |
| testRuntimeOnly 'org.slf4j:slf4j-nop' // Get rid of warning about missing slf4j implementation during tests |
| } |
| |
| apply from: rootProject.layout.projectDirectory.file('gradle/java-config.gradle') |
| apply from: rootProject.layout.projectDirectory.file('gradle/test-config.gradle') |
| apply from: rootProject.layout.projectDirectory.file('gradle/publish-config.gradle') |