forked from andrewharmellaw/jetty-server-request-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (42 loc) · 1.32 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
group 'com.capgemini'
description = """Jetty Server Request Logger"""
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url "http://dl.bintray.com/capgeminiuk/maven/"
}
}
dependencies {
classpath("net.researchgate:gradle-release:2.3.5")
}
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'net.researchgate.release'
task initSourceFolders { // add << before { to prevent executing during configuration phase
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}
repositories {
mavenCentral()
mavenLocal()
maven {
url "http://dl.bintray.com/capgeminiuk/maven/"
}
}
def springBootVersion = '1.3.1.RELEASE'
dependencies {
compile(group: 'org.slf4j', name: 'slf4j-api', version: '1.7.7')
compile(group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.8.v20160314')
compile(group: 'ch.qos.logback', name: 'logback-access', version: '1.1.6')
compile(group: 'org.springframework.boot', name: 'spring-boot', version: springBootVersion)
compile(group: 'com.netflix.archaius', name: 'archaius-core', version: '0.7.4')
}
release {
buildTasks = ['clean', 'build', 'install']
}