-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (46 loc) · 1.54 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
plugins {
id "java"
id "org.springframework.boot" version "3.4.0"
id "io.freefair.git-version"
id "io.freefair.lombok"
id "io.freefair.javadoc-links"
id "io.freefair.okhttp"
}
apply plugin: 'io.spring.dependency-management'
group = 'org.joinfaces.docs'
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
withSourcesJar()
withJavadocJar()
}
bootJar {
launchScript()
}
test {
useJUnitPlatform()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.apache.tika:tika-core:3.0.0'
implementation 'org.webjars:webjars-locator-core'
implementation 'org.webjars:bootstrap:5.3.3'
implementation 'org.webjars:font-awesome:6.6.0'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
task uploadDocumentation(type: io.freefair.gradle.plugins.okhttp.tasks.UploadFile) {
dependsOn "javadocJar"
username = "user"
password = findProperty('joinfacesDocsPass')
file = javadocJar.archiveFile
url = "https://docs.joinfaces.org/api/$project.version?path=joinfaces-docs-server"
}