-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.84 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
mainClassName = 'clienteHTML5.Main'
group 'clienteHTML5'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile "io.javalin:javalin:3.8.0"
compile "org.slf4j:slf4j-simple:1.7.28"
//Thymeleaf
compile "org.thymeleaf:thymeleaf:3.0.9.RELEASE"
//agregando dependencia de H2, represanta el Drive de la conexion.
compile 'com.h2database:h2:1.4.200'
//Agregando liberia para encriptar.
compile group: 'org.jasypt', name: 'jasypt', version: '1.9.3'
//ORM - Hibernate.
compile 'org.hibernate:hibernate-core:5.4.17.Final'
compile 'org.hibernate:hibernate-entitymanager:5.4.17.Final'
//Gson
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
//JSON
compile "com.fasterxml.jackson.core:jackson-databind:2.10.1"
compile group: 'org.json', name: 'json', version: '20200518'
implementation 'io.jsonwebtoken:jjwt-api:0.10.5'
implementation 'io.jsonwebtoken:jjwt-impl:0.10.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.10.5'
//Libreria para SOAP de Jetty https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-http-spi
compile group: 'org.eclipse.jetty', name: 'jetty-http-spi', version: '9.4.30.v20200611'
//incluyendo las librerias de javax.ee en java 11.
//https://blog.codefx.org/java/java-11-migration-guide/
compile "org.glassfish.jaxb:jaxb-runtime:2.4.0-b180830.0438"
compile "com.sun.xml.ws:jaxws-rt:2.3.1"
compile "com.sun.xml.ws:rt:2.3.1"
}
//Agregando UTF 8 para las plantillas.
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
shadowJar{
baseName = 'app'
classifier = ''
archiveVersion = ''
}