forked from KrailOrg/krail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
151 lines (113 loc) · 4.28 KB
/
build.gradle
File metadata and controls
151 lines (113 loc) · 4.28 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/*
*
* * Copyright (c) 2016. David Sowerby
* *
* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* * the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* *
* * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* * specific language governing permissions and limitations under the License.
*
*/
//apply plugin: 'war' // needed only for providedCompile
buildscript {
ext.kotlin_version = '1.1.4-2'
ext.kaytee_plugin_version = "0.18.0.0"
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "uk.q3c.kaytee:kaytee-plugin:$kaytee_plugin_version"
}
}
description = 'A rapid development framework for web apps using Vaadin, Guice, Shiro et al'
ext.vaadinVersion = '7.7.10'
ext.assertjVersion = '3.8.0'
ext.commonsLangVersion = '3.3.2'
ext.groovyVersion = '2.4.1'
ext.guiceVersion = '4.1.0'
ext.shiroVersion = '1.4.0'
ext.slf4jVersion = '1.7.6'
ext.versionDescription = 'No version description provided'
group = 'uk.q3c.krail'
apply plugin: 'uk.q3c.kaytee'
apply plugin: "kotlin"
//version = versionFromFile(project.projectDir)
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
kaytee {
generateChangeLog=false
version {
number = "0.10.1.8"
}
}
bintray {
user = 'dsowerby'
}
dependencies {
compile 'uk.q3c.krail:krail-option:0.10.0.0.9e825e2'
compile 'uk.q3c.krail:krail-config:0.9.0.0.3ec3948'
compile 'commons-beanutils:commons-beanutils:1.9.3'
// need this for Guice 4.1.0 to override older version brought in by Bval
//Dependency Injection
compile 'com.google.inject.extensions:guice-servlet:' + guiceVersion
compile 'com.google.inject.extensions:guice-assistedinject:' + guiceVersion
//groovy
compile 'org.codehaus.groovy:groovy-all:' + groovyVersion
//logging
compile 'org.slf4j:slf4j-api:' + slf4jVersion
compile 'ch.qos.logback:logback-classic:1.1.2'
compile 'ch.qos.logback:logback-core:1.1.2'
//servlet // switching to providedCompile broke mock for VaadinSession
compile "javax.servlet:javax.servlet-api:3.+"
//Utility
//the easiest way to all the Jung parts
compile 'net.sf.jung:jung-samples:2.0.1'
compile 'org.apache.commons:commons-lang3:' + commonsLangVersion
compile 'commons-io:commons-io:2.4'
compile 'org.reflections:reflections:0.9.10'
// compile 'net.jodah:typetools:0.4.3'
//Validation
compile 'org.apache.bval:bval-jsr303:0.5'
compile 'org.apache.bval:bval-guice:0.5'
compile 'javax.validation:validation-api:1.0.0.GA'
//User access control
compile 'org.apache.shiro:shiro-core:' + shiroVersion
compile 'org.apache.shiro:shiro-web:' + shiroVersion
compile 'org.apache.shiro:shiro-guice:' + shiroVersion
//Vaadin
//The core server part of Vaadin -->
compile 'com.vaadin:vaadin-server:' + vaadinVersion
compile 'com.vaadin:vaadin-push:' + vaadinVersion
// used by OptionDaoTestBase, needed externally
compile 'org.spockframework:spock-core:1.1-groovy-2.4'
compile 'org.spockframework:spock-guice:1.1-groovy-2.4'
//testing
testCompile 'org.eclipse.persistence:javax.persistence:2.1.0'
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:' + assertjVersion
testCompile 'org.assertj:assertj-guava:3.1.0'
testCompile 'com.mycila.testing.plugins:mycila-testing-mockito:2.8'
testCompile 'com.mycila:mycila-guice:2.10.ga'
testCompile 'com.mycila.testing.plugins:mycila-testing-guice:2.8'
testCompile 'cglib:cglib-nodep:3.2.0' // needed for Spock mocking
// testCompile "javax.servlet:javax.servlet-api:3.+"
testCompile 'com.mycila.testing.plugins:mycila-testing-mockito:2.8'
testCompile 'org.mockito:mockito-all:1.10.19'
testCompile 'uk.q3c.util:q3c-testUtil:0.10.0.0.68d40b5'
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0.1'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}