@@ -12,14 +12,13 @@ buildscript {
12
12
}
13
13
14
14
plugins {
15
- id " io.spring.dependency-management" version " 0.3.1.RELEASE"
16
- id " com.jfrog.bintray" version " 1.6"
15
+ // id "io.spring.dependency-management" version "0.3.1.RELEASE"
16
+ // id "com.jfrog.bintray" version "1.6"
17
17
}
18
18
19
- version " 3 .0.0"
19
+ version " 4 .0.0.BUILD-SNAPSHOT "
20
20
group " com.bertramlabs.plugins"
21
21
22
- apply plugin : " spring-boot"
23
22
apply plugin : " org.grails.grails-plugin"
24
23
apply plugin : " org.grails.grails-gsp"
25
24
apply plugin : ' maven-publish'
@@ -31,39 +30,51 @@ apply plugin: "org.grails.grails-plugin-publish"
31
30
// apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
32
31
// apply from:'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
33
32
34
- ext {
35
- grailsVersion = project. grailsVersion
36
- gradleWrapperVersion = project. gradleWrapperVersion
37
- }
38
-
39
- sourceCompatibility = 1.7
40
- targetCompatibility = 1.7
41
-
33
+ sourceCompatibility = 1.8
34
+ targetCompatibility = 1.8
42
35
43
36
repositories {
44
37
mavenLocal()
45
38
mavenCentral()
46
39
maven { url " https://repo.grails.org/grails/core" }
47
40
}
48
41
49
- dependencyManagement {
50
- imports {
51
- mavenBom " org.grails:grails-bom:$grailsVersion "
42
+ configurations {
43
+ developmentOnly
44
+ runtimeClasspath {
45
+ extendsFrom developmentOnly
52
46
}
53
- applyMavenExclusions false
54
47
}
55
48
56
49
dependencies {
57
- provided ' org.springframework.boot:spring-boot-starter-logging'
58
- provided " org.springframework.boot:spring-boot-starter-actuator"
59
- provided " org.springframework.boot:spring-boot-autoconfigure"
60
- provided " org.springframework.boot:spring-boot-starter-tomcat"
61
-
62
- provided " org.grails:grails-web-boot"
63
- provided " org.grails:grails-dependencies"
64
- provided ' javax.servlet:javax.servlet-api:3.1.0'
65
-
66
- testCompile " org.grails:grails-plugin-testing"
50
+ developmentOnly(" org.springframework.boot:spring-boot-devtools" )
51
+ compile " org.springframework.boot:spring-boot-starter-logging"
52
+ compile " org.springframework.boot:spring-boot-autoconfigure"
53
+ compile " org.grails:grails-core"
54
+ compile " org.springframework.boot:spring-boot-starter-actuator"
55
+ compile " org.springframework.boot:spring-boot-starter-tomcat"
56
+ compile " org.grails:grails-web-boot"
57
+ compile " org.grails:grails-logging"
58
+ compile " org.grails:grails-plugin-rest"
59
+ compile " org.grails:grails-plugin-databinding"
60
+ compile " org.grails:grails-plugin-i18n"
61
+ compile " org.grails:grails-plugin-services"
62
+ compile " org.grails:grails-plugin-url-mappings"
63
+ compile " org.grails:grails-plugin-interceptors"
64
+ compile " org.grails.plugins:cache"
65
+ compile " org.grails.plugins:async"
66
+ compile " org.grails.plugins:scaffolding"
67
+ compile " org.grails.plugins:gsp"
68
+ compileOnly " io.micronaut:micronaut-inject-groovy"
69
+ console " org.grails:grails-console"
70
+ profile " org.grails.profiles:web-plugin"
71
+ runtime " com.bertramlabs.plugins:asset-pipeline-grails:3.0.10"
72
+ // provided 'javax.servlet:javax.servlet-api:3.1.0'
73
+ compileOnly " io.micronaut:micronaut-inject-groovy"
74
+ testCompile " org.grails:grails-gorm-testing-support"
75
+ testCompile " org.mockito:mockito-core"
76
+ testCompile " org.grails:grails-web-testing-support"
77
+ // testCompile "org.grails:grails-plugin-testing"
67
78
68
79
console " org.grails:grails-console"
69
80
}
@@ -94,18 +105,3 @@ grailsPublish {
94
105
developers = [davidestes :" David Estes" , jcrosbie : " Jeremy Michael Crosbie" ]
95
106
}
96
107
97
- eclipse {
98
- classpath {
99
- plusConfigurations + = [configurations. provided]
100
- }
101
- }
102
-
103
- idea {
104
- module {
105
- scopes. PROVIDED . plus + = [configurations. provided]
106
- }
107
- }
108
-
109
- task wrapper (type : Wrapper ) {
110
- gradleVersion = gradleWrapperVersion
111
- }
0 commit comments