forked from grails-plugins/grails-test-mixin-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
98 lines (80 loc) · 3.39 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails:grails-docs:$grailsVersion"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath 'io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1'
}
}
group "org.grails"
version = projectVersion
ext {
userOrg = "grails"
isGrailsPlugin = false
isBuildSnapshot = version.toString().endsWith("-SNAPSHOT")
commonBuild = "https://raw.githubusercontent.com/grails/grails-common-build/cfd3bca16661cbb6fead6006715ea5ee26fb737a/"
}
apply from:"${commonBuild}/common-project.gradle"
apply from:"${commonBuild}/common-publishing.gradle"
apply from:"${commonBuild}/common-docs.gradle"
apply plugin: "io.spring.dependency-management"
sourceCompatibility = 1.7
targetCompatibility = 1.7
if(project.hasProperty('grailsVersion')) {
dependencyManagement {
imports {
mavenBom "org.grails:grails-bom:$grailsVersion"
}
dependencies {
dependency "org.grails.plugins:events:$asyncVersion"
}
}
}
dependencies {
compileOnly "org.grails:grails-plugin-url-mappings:$grailsVersion",
"org.grails:grails-plugin-databinding:$grailsVersion",
"org.grails:grails-plugin-controllers:$grailsVersion",
"org.grails:grails-plugin-domain-class:$grailsVersion",
"org.grails:grails-plugin-interceptors:$grailsVersion",
"org.grails:grails-plugin-mimetypes:$grailsVersion",
"org.grails:grails-plugin-rest:$grailsVersion",
"org.grails:grails-plugin-codecs:$grailsVersion"
compile "org.grails:grails-web-jsp:$gspVersion"
compileOnly "org.grails.plugins:gsp:$gspVersion"
compileOnly "org.grails.plugins:converters:$legacyConvertersVersion"
compile "org.grails.plugins:async:$asyncVersion"
compile ( "org.grails:grails-test:$grailsVersion" ) {
exclude group: 'org.grails', module:'grails-web'
exclude group: 'org.grails', module:'grails-plugin-mimetypes'
}
compile("org.grails:grails-datastore-gorm-test:$gormVersion") {
exclude group: 'org.grails', module:'grails-plugin-testing'
}
compile ( "org.grails:grails-logging:$grailsVersion" ) {
exclude group: 'org.grails', module:'grails-web'
}
compile "javax.servlet:javax.servlet-api:$servletApiVersion"
compile("org.springframework:spring-test:${springVersion}") {
exclude group: 'commons-logging', module:'commons-logging'
}
compile "org.springframework.boot:spring-boot-starter-test:$springBootVersion"
compile("org.spockframework:spock-spring:${spockVersion}") {
transitive = false
exclude group:'junit', module: 'junit-dep'
exclude group:'org.codehaus.groovy', module: 'groovy-all'
}
compile("org.spockframework:spock-core:${spockVersion}") {
transitive = false
exclude group:'junit', module: 'junit-dep'
exclude group:'org.codehaus.groovy', module: 'groovy-all'
}
compile "junit:junit:${junitVersion}", {
exclude group:'org.hamcrest', module: 'hamcrest-core'
}
runtime "cglib:cglib:${cglibVersion}"
}