-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
executable file
·80 lines (66 loc) · 1.97 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
75
76
77
78
79
80
group = 'com.ubc.plugin'
version = '1.0-SNAPSHOT'
description = 'Universal Build Commander'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.2',
'com.bmuschko:gradle-clover-plugin:2.0.1'
}
}
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'artifactory-publish'
repositories {
mavenCentral()
jcenter()
maven {
url 'http://mvnrepository.com/artifact'
}
}
dependencies {
compile gradleApi(),
'org.codehaus.groovy:groovy-all:2.4.10',
'org.tmatesoft.svnkit:svnkit:1.8.5',
'org.tmatesoft.svnkit:svnkit-cli:1.8.5',
'com.rackspace.apache:xerces2-xsd11:2.11.2',
'org.codehaus.groovy.modules.http-builder:http-builder:0.5.2',
'com.ullink.gradle:gradle-msbuild-plugin:2.15',
'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.2',
'postgresql:postgresql:9.2-1002.jdbc4',
'org.codehaus.sonar.runner:sonar-runner-dist:2.4',
'net.sourceforge.nekohtml:nekohtml:1.9.21',
'xerces:xercesImpl:2.11.0',
'org.apache.ant:ant:1.9.7'
testCompile gradleTestKit(),
'junit:junit:4.11',
'xmlunit:xmlunit:1.6'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
artifactId archivesBaseName
artifact sourceJar
artifact javadocJar
}
}
}
sourceCompatibility = 1.6
targetCompatibility = 1.6
task sourceJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
task allDeps(type: DependencyReportTask) {}
task wrapper(type: Wrapper, description: 'Generates the Gradle wrapper') {
group = 'Buildmaster'
gradleVersion = '2.13'
}