-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
38 lines (28 loc) · 1.03 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
group 'fi.linuxbox.jta'
version '1.0-SNAPSHOT'
apply plugin: 'application'
sourceCompatibility = 1.8
mainClassName = 'fi.linuxbox.jta.Main'
repositories {
mavenCentral()
}
dependencies {
// Use BTM as the JTA provider (and JNDI provider)
compile 'org.codehaus.btm:btm:2.1.4'
// Use JPA APIs
compile 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final'
// Use Hibernate as the JPA provider
runtime 'org.hibernate:hibernate-entitymanager:5.2.10.Final'
// On Java 9, Java EE things that are bundled in Java SE 8,
// are no longer on the classpath by default.
// This works around that.
runtime 'javax.xml.bind:jaxb-api:2.2.12'
// Use Derby as the database
compile 'org.apache.derby:derby:10.13.1.1'
// Logging (Hibernate only works with Slf4j IF the logback is used as a backend)
runtime 'org.slf4j:slf4j-api:1.7.25'
compile 'ch.qos.logback:logback-classic:1.2.3'
}
task reallyclean(type: Delete) {
delete 'users1', 'users2', 'btm1.tlog', 'btm2.tlog', 'derby.log'
}