forked from gaelyk/gaelyk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.gradle
39 lines (32 loc) · 1.18 KB
/
common.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
project.ext.gaelykGroovyVersion = '2.4.3'
project.ext.gaelykSpockVersion = '1.0-groovy-2.4'
project.ext.gaelykAppEngineVersion = '1.9.20'
project.ext.gaelykLatestVersion = '2.2.0'
project.ext.gaelykSpockLatestVersion = '0.5'
project.ext.gaelykGradleVersion = '2.4'
repositories {
mavenCentral()
maven { // for Spock Groovy 2.0 Support
name "OSS Sonatype Repo"
url "http://oss.sonatype.org/content/repositories/snapshots/"
}
}
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = 1.7
targetCompatibility = 1.7
task wrapper(type: Wrapper) {
gradleVersion = gaelykGradleVersion
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
println "Using following common Gaelyk setting:"
println "Groovy Version: $ext.gaelykGroovyVersion"
println "Spock Version: $ext.gaelykSpockVersion"
println "App Engine Version: $ext.gaelykAppEngineVersion"
println "Gaelyk Version: $ext.gaelykLatestVersion"
println "Gaelyk Spock Version: $ext.gaelykSpockLatestVersion"
println "Gradle Version: $ext.gaelykGradleVersion"
println "Java Version: ${System.getProperty("java.vendor")} ${System.getProperty("java.version")}"