-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.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
64
allprojects {
group 'org.hibernate'
version '1.0-SNAPSHOT'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.0-M3'
}
}
apply plugin: 'org.junit.platform.gradle.plugin'
dependencies {
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.0.0-M3'
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.0.0-M3")
testCompile group: 'org.easytesting', name: 'fest-assert', version: '1.4'
testCompile group: 'org.hibernate', name: 'hibernate-hikaricp', version: '5.0.11.Final'
testCompile project(':hibernate-utils')
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.0.11.Final'
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '5.0.11.Final'
compile group: 'org.postgresql', name: 'postgresql', version: '9.4.1212.jre7'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.5'
}
junitPlatform {
// platformVersion '1.0.0-M3'
filters {
engines {
// include 'junit-jupiter', 'junit-vintage'
// exclude 'custom-engine'
}
tags {
// include 'fast'
exclude 'slow'
}
// includeClassNamePattern '.*Test'
}
// enableStandardTestTask true
// reportsDir file('build/test-results/junit-platform') // this is the default
logManager 'org.apache.logging.log4j.jul.LogManager'
}