-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (50 loc) · 1.42 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
wrapper {
gradleVersion = '5.2.1'
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
group = pGroup
version = pVersion
if (project.hasProperty("topobyte")) {
apply from: 'file:///' + System.getProperty("user.home") \
+ '/.gradle/topobyte.gradle'
}
repositories {
maven {
url 'http://mvn.topobyte.de'
}
maven {
url 'http://repo.jenkins-ci.org/public'
}
mavenCentral()
}
dependencies {
compile 'org.kohsuke:github-api:1.95'
compile 'com.google.guava:guava:19.0'
compile 'de.topobyte:executable-utils:0.0.2'
compile 'de.topobyte:commons-cli-helper:0.1.0'
compile 'de.topobyte:system-utils:0.0.1'
compile 'de.topobyte:github-api-utils:0.0.1'
compile 'com.jcraft:jsch.agentproxy.jsch:0.0.9'
compile 'com.jcraft:jsch.agentproxy.sshagent:0.0.9'
compile 'com.jcraft:jsch.agentproxy.usocket-jna:0.0.9'
compile 'org.eclipse.jgit:org.eclipse.jgit:4.5.0.201609210915-r'
compile "org.slf4j:slf4j-api:1.6.1"
runtime "org.slf4j:slf4j-log4j12:1.6.1"
runtime "log4j:log4j:1.2.16"
}
compileJava {
options.compilerArgs += "-Xlint:deprecation";
}
task copyJars(type: Copy) {
into "$buildDir/lib-run"
from jar
}
task copyDeps(type: Copy) {
into "$buildDir/lib-run"
from configurations.runtime
}
task createRuntime(dependsOn: [copyJars, copyDeps]) {
description 'Setup the execution environment for the main scripts'
}