This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle
55 lines (45 loc) · 1.89 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
buildscript {
repositories {
jcenter()
maven { url 'http://palantir.bintray.com/releases' }
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.palantir.baseline:gradle-baseline-java:0.17.1'
classpath 'com.palantir.configurationresolver:gradle-configuration-resolver-plugin:0.3.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.9.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath 'gradle.plugin.org.inferred:gradle-processors:1.2.15'
}
}
apply plugin: 'java'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.baseline-config'
apply plugin: 'com.palantir.baseline-idea'
apply plugin: 'com.palantir.baseline-eclipse'
apply plugin: 'com.palantir.baseline-checkstyle'
apply plugin: 'org.inferred.processors' // installs the "processor" configuration needed for baseline-error-prone
apply plugin: 'com.palantir.baseline-error-prone'
apply plugin: 'com.palantir.configuration-resolver'
apply from: "${rootDir}/gradle/publish.gradle"
repositories {
jcenter()
maven { url 'http://palantir.bintray.com/releases' }
}
dependencies {
baseline 'com.palantir.baseline:gradle-baseline-java-config:0.17.1@zip'
compile "io.dropwizard:dropwizard-core:$dropwizardVersion"
processor "org.immutables:value:$immutablesVersion"
testCompile "io.dropwizard:dropwizard-assets:$dropwizardVersion"
testCompile "io.dropwizard:dropwizard-client:$dropwizardVersion"
testCompile "io.dropwizard:dropwizard-testing:$dropwizardVersion"
testCompile "junit:junit:$junitVersion"
testCompile "org.mockito:mockito-core:$mockitoVersion"
testCompile "org.springframework:spring-test:$springTestVersion"
}
javadoc {
options.addStringOption('Xdoclint:none', '-quiet')
}
group 'com.palantir.websecurity'
version gitVersion()
sourceCompatibility = 1.8