-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
55 lines (46 loc) · 1.42 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
buildscript {
repositories {
mavenLocal()
maven { url 'https://repo.grails.org/grails/libs-snapshots-local/' }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails:grails-docs:${project.ext.properties.grailsDocsVersion ?: 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'
}
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
version project.projectVersion
ext {
commonBuild = new File(project.rootDir, "gradle").absolutePath
}
subprojects {
version project.projectVersion
ext {
userOrg = "grails"
isGrailsPlugin = name.startsWith('grails-plugin')
isBuildSnapshot = version.toString().endsWith("-SNAPSHOT")
}
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
}
apply plugin:'groovy'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
dependencies {
//testCompile "org.codehaus.groovy:groovy-test:$groovyVersion"
}
tasks.withType(Test) {
testLogging {
events "failed"
exceptionFormat "full"
}
}
}