-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
64 lines (56 loc) · 1.8 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
plugins {
id "org.asciidoctor.convert" version "1.5.2"
}
apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'maven'
apply from: "$rootDir/gradle/publishing.gradle"
apply from: "$rootDir/gradle/functional-test.gradle"
group = 'org.grooscript'
version = '1.2.4-SNAPSHOT'
ext {
grooscriptVersion = '1.2.3'
gradleVersion = '2.13'
}
def compatibilityVersion = 1.7
sourceCompatibility = compatibilityVersion
targetCompatibility = compatibilityVersion
repositories {
mavenLocal()
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: "groovy-all"
}
testCompile 'cglib:cglib-nodep:3.1'
compile("org.grooscript:grooscript:${grooscriptVersion}") {
exclude module: "groovy"
exclude module: "groovy-json"
}
compile('org.codehaus.gpars:gpars:1.2.1') {
exclude module: 'groovy-all'
}
compile "org.springframework:spring-websocket:4.1.4.RELEASE"
compile "org.springframework:spring-messaging:4.1.4.RELEASE"
compile 'org.apache.tomcat.embed:tomcat-embed-websocket:8.0.15'
compile 'org.apache.tomcat.embed:tomcat-embed-logging-juli:8.0.15'
compile 'com.fasterxml.jackson.core:jackson-databind:2.4.4'
}
task wrapper(type: Wrapper) {
gradleVersion = project.ext['gradleVersion']
}
asciidoctor {
sourceDir = project.file 'doc'
sources { include 'starting_gradle.adoc', 'tasks.adoc', 'templating.adoc' }
attributes 'plugin-version': version,
'gradle-version': gradleVersion,
'grooscript-version': grooscriptVersion,
author: 'Jorge Franco',
email: '[email protected]',
'source-highlighter': 'prettify',
icons: 'font',
'index-file': 'index.html'
}