forked from mamohr/jboss-deployment-structure
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
75 lines (65 loc) · 1.87 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 {
gradlePluginPortal()
}
dependencies {
classpath 'com.netflix.nebula:nebula-project-plugin:5.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.contacts-base'
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:5.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 {
github 'mamohr'
}
}