-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
65 lines (51 loc) · 1.61 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
65
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'edu.pucmm.eict'
version '1.0-SNAPSHOT'
java {
sourceCompatibility = '21'
}
mainClassName='edu.pucmm.eict.Main'
repositories {
mavenCentral()
maven{
url "https://maven.reposilite.com/snapshots"
}
}
dependencies {
//Libreria test
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
//dependencia de Javalin
implementation 'io.javalin:javalin:6.1.3'
//manejo de log.
implementation("org.slf4j:slf4j-simple:2.0.10")
//libreria jsoup.
implementation group: 'org.jsoup', name: 'jsoup', version: '1.15.3'
//Procesamiento JSON.
implementation("com.fasterxml.jackson.core:jackson-core:2.15.2")
implementation('com.fasterxml.jackson.core:jackson-databind:2.15.2')
implementation("com.fasterxml.jackson.core:jackson-annotations:2.15.2")
// En la versión 5.3.X separaron las clases del renderizado en otro proyecto
implementation "io.javalin:javalin-rendering:6.1.3"
//sistemas de plantilla:
implementation 'org.freemarker:freemarker:2.3.32'
implementation 'org.thymeleaf:thymeleaf:3.1.1.RELEASE'
implementation 'org.apache.velocity:velocity-engine-core:2.3'
}
shadowJar{
archiveBaseName.set("app")
archiveClassifier.set('')
archiveVersion.set('')
}
/**
* tarea necesaria para heroku si optamos por la tarea de Shadowjar
* en el archivo Procfile debe estar el siguiente comando:
* web: java -jar build/libs/app.jar
*/
task stage {
dependsOn shadowJar
}