1
- buildscript {
2
- repositories {
3
- mavenLocal()
4
- maven { url " https://repo.grails.org/grails/core" }
5
- }
6
- dependencies {
7
- classpath " org.grails:grails-gradle-plugin:$grailsVersion "
8
- }
9
- }
10
-
11
1
plugins {
12
2
id ' org.asciidoctor.convert' version ' 1.5.3'
3
+ id ' eclipse'
4
+ id ' idea'
5
+ id ' java-library'
6
+ id ' org.grails.grails-plugin'
7
+ id ' org.grails.internal.grails-plugin-publish'
13
8
}
14
9
15
10
version project. projectVersion
16
11
group " org.grails.plugins"
17
12
18
- apply plugin : " eclipse"
19
- apply plugin : " idea"
20
- apply plugin : " org.grails.grails-plugin"
21
- apply plugin : " org.grails.internal.grails-plugin-publish"
22
-
23
13
repositories {
24
- mavenLocal ()
14
+ mavenCentral ()
25
15
maven { url " https://repo.grails.org/grails/core" }
26
16
}
27
17
@@ -40,18 +30,18 @@ configurations {
40
30
}
41
31
42
32
dependencies {
43
- provided ' org.springframework.boot:spring-boot-starter-logging'
44
- provided " org.springframework.boot:spring-boot-starter-actuator"
45
- provided " org.springframework.boot:spring-boot-autoconfigure"
46
- provided " org.springframework.boot:spring-boot-starter-tomcat"
47
- provided " org.grails:grails-dependencies"
33
+ api ' org.springframework.boot:spring-boot-starter-logging'
34
+ api " org.springframework.boot:spring-boot-starter-actuator"
35
+ api " org.springframework.boot:spring-boot-autoconfigure"
36
+ api " org.springframework.boot:spring-boot-starter-tomcat"
37
+ api " org.grails:grails-dependencies"
38
+ api " org.grails:scaffolding-core:$scaffoldingCoreVersion "
48
39
console " org.grails:grails-console"
49
- compile " org.grails:scaffolding-core:$scaffoldingCoreVersion "
50
40
profile " org.grails.profiles:plugin"
51
- testCompile (" org.spockframework:spock-core:${ spockVersion} " ) {
41
+ testImplementation (" org.spockframework:spock-core:${ spockVersion} " ) {
52
42
exclude group :' org.codehaus.groovy' , module : ' groovy-all'
53
43
}
54
- documentation " org.codehaus.groovy:groovy-all: $g roovyVersion "
44
+ documentation " org.codehaus.groovy:groovy-all"
55
45
}
56
46
57
47
bootRun {
0 commit comments