-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
41 lines (35 loc) · 1.06 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
plugins {
id 'application'
}
group 'fr.litopia'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.22.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation 'org.hibernate:hibernate-vibur:5.6.5.Final'
implementation 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final'
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '3.0.3'
implementation 'com.h2database:h2:2.1.210'
//implementation group: 'com.oracle.database.jdbc', name: 'ojdbc8', version: '21.5.0.0''
}
test {
useJUnitPlatform()
}
application {
mainClassName ='fr.litopia.Launch'
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes(
'Main-Class': 'fr.litopia.Launch'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}