-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
51 lines (45 loc) · 1.42 KB
/
build.gradle.kts
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
plugins {
java
`maven-publish`
id("com.google.cloud.tools.jib") version("3.0.0")
id("org.springframework.boot") version("2.5.0")
}
repositories {
mavenLocal()
maven {
url = uri("https://emily.dreamexposure.org/artifactory/dreamexposure-public/")
}
maven {
url = uri("https://repo.spring.io/libs-release")
}
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
dependencies {
implementation("org.thymeleaf:thymeleaf:3.0.12.RELEASE")
implementation("org.thymeleaf:thymeleaf-spring5:3.0.12.RELEASE")
implementation("nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:2.5.3")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf:2.5.0")
implementation("org.springframework.session:spring-session:1.3.5.RELEASE")
implementation("org.springframework.security:spring-security-core:5.5.0")
implementation("org.springframework.boot:spring-boot-starter-webflux:2.5.0")
}
group = "org.dreamexposure"
version = "1.0.1"
description = "DreamExposure-Website"
java.sourceCompatibility = JavaVersion.VERSION_1_8
jib {
to.image = "rg.nl-ams.scw.cloud/dreamexposure/dreamexposure-site:$version"
container {
creationTime = "USE_CURRENT_TIMESTAMP"
}
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}