File tree Expand file tree Collapse file tree 5 files changed +7
-20
lines changed
src/test/groovy/com/example Expand file tree Collapse file tree 5 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ buildscript {
3
3
maven { url " https://repo.grails.org/grails/core" }
4
4
}
5
5
dependencies {
6
- classpath " org.grails:grails-gradle-plugin:$g railsVersion "
6
+ classpath " org.grails:grails-gradle-plugin:$g railsGradlePluginVersion "
7
7
classpath " com.bertramlabs.plugins:asset-pipeline-gradle:3.2.4"
8
8
}
9
9
}
Original file line number Diff line number Diff line change @@ -2,23 +2,18 @@ package com.example
2
2
3
3
import grails.plugins.redis.RedisService
4
4
import grails.testing.mixin.integration.Integration
5
- import org.junit.Test
6
5
import org.springframework.beans.factory.annotation.Autowired
7
- import spock.lang.Ignore
8
6
import spock.lang.Specification
9
7
10
8
@Integration
11
- @Ignore
12
9
class MemoizeAnnotationSpec extends Specification {
13
10
14
- @Autowired
15
- RedisService redisService
11
+ @Autowired RedisService redisService
16
12
17
- public void setup () {
13
+ void setup () {
18
14
redisService. flushDB()
19
15
}
20
16
21
- @Test
22
17
void testMemoizeAnnotationExpire () {
23
18
given :
24
19
// set up test class
Original file line number Diff line number Diff line change 1
1
package com.example
2
2
3
-
3
+ import grails.core.support.proxy.ProxyHandler
4
4
import grails.plugins.redis.RedisService
5
5
import grails.testing.mixin.integration.Integration
6
- import org.grails.datastore.mapping.proxy.ProxyHandler
7
6
import org.springframework.beans.factory.annotation.Autowired
8
7
import org.springframework.test.annotation.Rollback
9
8
import spock.lang.Specification
Original file line number Diff line number Diff line change 1
1
projectVersion =3.0.0-SNAPSHOT
2
- grailsVersion =4.1.1
2
+ grailsVersion =5.3.2
3
+ grailsGradlePluginVersion =5.3.0
3
4
org.gradle.daemon =true
4
5
org.gradle.parallel =true
5
6
org.gradle.jvmargs =-Dfile.encoding =UTF-8 -Xmx1024M
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext {
3
- grailsVersion = project. grailsVersion
4
- }
5
2
repositories {
6
3
maven { url " https://repo.grails.org/grails/core" }
7
4
}
8
5
dependencies {
9
- classpath " org.grails:grails-gradle-plugin:$g railsVersion "
6
+ classpath " org.grails:grails-gradle-plugin:$g railsGradlePluginVersion "
10
7
}
11
8
}
12
9
@@ -21,11 +18,6 @@ plugins {
21
18
apply plugin : " org.grails.grails-plugin"
22
19
apply plugin : " org.grails.grails-gsp"
23
20
24
-
25
- ext {
26
- grailsVersion = project. grailsVersion
27
- }
28
-
29
21
version project. projectVersion
30
22
group " org.grails.plugins"
31
23
You can’t perform that action at this time.
0 commit comments