-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.41 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
plugins {
id 'java-library'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
mavenLocal()
maven {
// for ORM snapshots
// - use `--refresh-dependencies` to circumvent the cached snapshot jar
// which Gradle considers valid for 24 hours
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
}
dependencies {
api "org.hibernate.orm:hibernate-core:6.3.0-SNAPSHOT"
testImplementation "org.hibernate.orm:hibernate-testing:6.3.0-SNAPSHOT"
implementation "org.jboss.logging:jboss-logging:3.5.0.Final"
implementation "org.hibernate.common:hibernate-commons-annotations:6.0.6.Final"
compileOnly "org.jboss.logging:jboss-logging-annotations:2.2.1.Final"
annotationProcessor "org.jboss.logging:jboss-logging-processor:2.2.1.Final"
annotationProcessor "org.jboss.logging:jboss-logging:3.5.0.Final"
annotationProcessor "org.jboss.logging:jboss-logging-annotations:2.2.1.Final"
testImplementation "org.assertj:assertj-core:3.14.0"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.1"
testRuntimeOnly "com.h2database:h2:2.1.214"
}
test {
useJUnitPlatform()
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.warnings false
}