forked from nebula-plugins/gradle-ospackage-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (54 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
buildscript {
repositories { jcenter() }
dependencies { classpath 'com.netflix.nebula:nebula-plugin-plugin:2.2.+' }
}
description 'Provides a task similar to Tar and Zip for constructing RPM and DEB package files.'
apply plugin: 'nebula-plugin'
apply plugin: 'nebula-test-jar'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = 1.6
targetCompatibility = 1.6
release {
git.requireBranch = 'gradle-2.2'
}
createWrapper.gradleVersion='2.2.1'
dependencies {
// Dynamic versions are ok, the nebula-maven-publishing plugin will take care of them
compile 'org.apache.commons:commons-lang3:3.1'
compile('org.redline-rpm:redline:1.2.1') {
// Where logging foes is a runtime decision
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
compile('org.vafer:jdeb:1.4') {
// Individual listing so that they translate into the pom file
exclude group: 'org.apache.maven', module: 'maven-core'
exclude group: 'org.apache.maven', module: 'maven-plugin-api'
exclude group: 'org.apache.maven', module: 'maven-project'
exclude group: 'org.apache.maven', module: 'maven-artifact'
exclude group: 'org.codehaus.plexus', module: 'plexus-utils'
}
testCompile('com.netflix.nebula:nebula-test:2.2.+') {
exclude group: 'org.codehaus.groovy'
}
compile 'com.bmuschko:gradle-docker-plugin:2.0.3'
}
def javaApiUrl = 'http://docs.oracle.com/javase/1.6.0/docs/api/'
def groovyApiUrl = 'http://groovy.codehaus.org/gapi/'
tasks.withType(Javadoc) {
options.links(javaApiUrl, groovyApiUrl)
}
contacts {
'justin@halfempty.org' {
moniker 'Justin Ryan'
github 'quidryan'
}
'alan@trigonic.com' {
moniker 'Alan Krueger'
github 'AlanKrueger'
}
'rob.spieldenner@gmail.com' {
moniker 'Rob Spieldenner'
github 'rspieldenner'
}
}