forked from nebula-plugins/gradle-ospackage-plugin
/
build.gradle
57 lines (49 loc) · 1.77 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
buildscript {
repositories { jcenter() }
dependencies { classpath 'com.netflix.nebula:nebula-plugin-plugin:1.12.+' }
dependencies { classpath 'com.google.guava:guava:17.0' }
}
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-1.12'
}
createWrapper.gradleVersion='1.12'
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.1.15') {
// 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'
}
compile 'com.bmuschko:gradle-docker-plugin:0.8.3'
testCompile 'com.netflix.nebula:nebula-test:1.12.+'
}
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'
}
}