-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
85 lines (71 loc) · 2.64 KB
/
build.gradle
File metadata and controls
85 lines (71 loc) · 2.64 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
// -*- Groovy -*-
// build.gradle
//
// Gradle build script for EC-Chef plugin.
//
// Copyright (c) 2015 Electric Cloud, Inc.
// All rights reserved
buildscript {
repositories {
mavenLocal()
maven {
url 'https://proxy.artifacts.cloudbees.com/repository/mirror'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
}
dependencies {
classpath group: 'com.electriccloud.plugins', name: 'flow-gradle-plugin', version: '2.4'
}
}
repositories {
maven {
url 'https://proxy.artifacts.cloudbees.com/repository/mirror'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
}
group = "com.electriccloud"
description = "Plugins : EC-Chef"
version = "2.0.1"
apply plugin: 'flow-gradle-plugin'
license {
header = file ('shortHeader.txt')
exclude "**/project.xml"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
configurations.all {
resolutionStrategy {
force group: 'com.electriccloud', name: 'ec-test', version: '10.1.0'
force group: 'com.electriccloud', name: 'commander-client', version: '10.1.0'
force group: 'com.electriccloud', name: 'commander-sdk', version: '6.1.2.1'
force group: 'com.electriccloud', name: 'ec_internal', version: '6.1.2.1'
force group: 'com.google.gwt', name: 'gwt-user', version: '2.5.0-ec3'
force group: 'com.google.gwt', name: 'gwt-dev', version: '2.5.0-ec1'
// force group: 'com.electriccloud', name: 'commander-client', version: '10.1.0'
// force group: 'com.electriccloud', name: 'commander-sdk', version: '6.1.2.1'
// force group: 'com.electriccloud', name: 'ec_internal', version: '6.1.2.1'
// force group: 'com.google.gwt', name: 'gwt-user', version: '2.5.0-ec3'
// force group: 'com.google.gwt', name: 'gwt-dev', version: '2.5.0-ec1'
cacheChangingModulesFor 0, 'seconds'
}
}
// dependencies {
// testCompile "junit:junit:4.12"
// testCompile "org.hamcrest:hamcrest-library:1.3"
// testCompile "com.googlecode.json-simple:json-simple:1.1"
// testCompile "commons-logging:commons-logging:1.2"
// testCompile "org.apache.httpcomponents:httpcore:4.4.4"
// testCompile "org.apache.httpcomponents:httpclient:4.3.6"
// testCompile "commons-codec:commons-codec:1.10"
// }
test
{
systemProperties['PLUGIN_VERSION'] = version
}