-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
75 lines (64 loc) · 2.18 KB
/
Copy pathbuild.gradle
File metadata and controls
75 lines (64 loc) · 2.18 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
// -*- Groovy -*-
// build.gradle
//
// Gradle build script for EC-JBoss plugin.
//
// Copyright (c) 2015 Electric Cloud, Inc.
// All rights reserved
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://nexus-internal.cloudbees.com/content/repositories/snapshots'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
maven {
url 'https://nexus-internal.cloudbees.com/content/groups/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 {
mavenCentral()
// maven { url 'https://repo.cloudbees.com/content/repositories/dev-connect' }
maven {
url 'https://nexus-internal.cloudbees.com/content/groups/mirror'
credentials {
username = System.getenv('NEXUS_USERNAME') ?: nexusUsername
password = System.getenv('NEXUS_PASSWORD') ?: nexusPassword
}
}
}
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'
cacheChangingModulesFor 0, 'seconds'
}
}
group = "com.electriccloud"
description = "Plugins : ECSCM-Perforce"
version = "2.10.0"
apply plugin: 'flow-gradle-plugin'
apply plugin: 'license'
// license {
// header = file ('shortHeader.txt')
// exclude "**/project.xml"
// }
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}