forked from LibraryOfCongress/bagit-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (29 loc) · 960 Bytes
/
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
plugins {
id 'java'
//these have to be in the main project for now see - https://discuss.gradle.org/t/how-do-i-include-buildscript-block-from-external-gradle-script/7016/2
id "com.github.kt3k.coveralls" version "2.6.3"
id "de.aaschmid.cpd" version "1.0"
id "org.owasp.dependencycheck" version "1.4.4.1"
}
apply from: 'eclipse.gradle'
apply from: 'maven-central.gradle'
apply from: 'code-quality.gradle'
sourceCompatibility = 1.8
targetCompatibility = 1.8
if(project.version == "unspecified"){
String now = new Date().format( 'MMM-dd-yyyy_HH-mm-ss' )
project.version = "5.0.0-${now}-SNAPSHOT"
}
repositories {
jcenter()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.22'
testCompile 'junit:junit:4.12',
'org.springframework.boot:spring-boot-starter-logging:1.4.3.RELEASE',
'org.bouncycastle:bcprov-jdk15on:1.56',
'org.kamranzafar:jtar:2.3'
}
test { //show test output
testLogging.showStandardStreams = true
}