-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
75 lines (65 loc) · 1.86 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
65
66
67
68
69
70
71
72
73
74
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.netflix.nebula:nebula-project-plugin:2.0.+"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
}
}
description='A gradle plugin that generates jboss-deployment-structure.xml based on the deploy configuration in the ear'
group = 'com.github.mamohr.gradle'
apply plugin: 'nebula-project'
apply plugin: 'nebula-integtest'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'com.jfrog.bintray'
repositories {
mavenCentral()
}
dependencies {
compile gradleApi()
compile localGroovy()
testCompile 'junit:junit:4.12'
testCompile 'xmlunit:xmlunit:1.6'
testCompile 'com.netflix.nebula:nebula-test:2.0.+'
}
ext {
if (!project.hasProperty("bintrayUser")) {
bintrayUser = ""
}
if (!project.hasProperty("bintrayKey")) {
bintrayKey = ""
}
}
configurations.all {
resolutionStrategy {
exclude group: 'org.codehaus.groovy', module: 'groovy'
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
}
bintray {
user = bintrayUser
key = bintrayKey
publications = ['mavenNebula']
publish = true
dryRun = false
pkg {
repo= 'maven'
desc = project.description
name = 'jboss-deployment-structure'
websiteUrl = "https://github.com/mamohr/${project.name}"
issueTrackerUrl = "https://github.com/mamohr/${project.name}/issues"
vcsUrl = "https://github.com/mamohr/${project.name}.git"
licenses = ['Apache-2.0']
labels = ['gradle', 'jboss', 'jboss-deployment-structure']
version {
attributes = ['gradle-plugin': 'com.github.mamohr.jboss-deployment-structure:com.github.mamohr.gradle:jboss-deployment-structure']
}
}
}
contacts {
'mario_mohr@web.de' {
github 'mamohr'
}
}