-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (53 loc) · 1.79 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
group 'marvin'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'application'
mainClassName = "marvin.Client"
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/casmith/irc-downloader")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GH_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GH_TOKEN")
}
}
}
dependencies {
compile 'org.eclipse.jetty:jetty-server:9.4.8.v20171121'
compile 'org.eclipse.jetty:jetty-servlet:9.4.8.v20171121'
compile 'org.jboss.resteasy:resteasy-jaxrs:3.0.19.Final'
compile 'org.jboss.resteasy:resteasy-jaxb-provider:3.0.19.Final'
compile 'org.jboss.resteasy:resteasy-guice:3.0.19.Final'
compile 'org.jboss.resteasy:resteasy-jackson2-provider:3.0.19.Final'
compile 'org.jboss.resteasy:resteasy-servlet-initializer:3.0.19.Final'
compile 'casmith:pircbotx:2.3'
compile 'org.slf4j:slf4j-api:1.7.13'
compile 'ch.qos.logback:logback-classic:1.2.3'
compile 'com.typesafe:config:1.3.4'
compile 'org.xerial:sqlite-jdbc:3.36.0.3'
compile 'com.google.inject:guice:4.2.3'
compile 'com.rabbitmq:amqp-client:5.7.1'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:3.0.0'
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.enabled true
}
}
test.finalizedBy jacocoTestReport
task dist(type: Jar) {
archiveClassifier = 'uber'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}