-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle
executable file
·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
//Community Plugins
plugins {
id("com.diffplug.spotless") version "5.6.1"
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'war'
repositories {
mavenCentral()
gradlePluginPortal()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
spotless {
java {
// Don't enforce the license, just the format.
clearSteps()
googleJavaFormat().aosp()
}
format 'javascript', {
target 'src/main/resources/**/*.js'
prettier().config(['filepath': 'file.js'])
}
}
dependencies {
implementation("javax.servlet:javax.servlet-api:4.0.1")
implementation("com.fasterxml.jackson.core:jackson-core:2.2.3")
implementation("com.fasterxml.jackson.core:jackson-annotations:2.12.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.12.0")
implementation("commons-fileupload:commons-fileupload:1.4")
implementation("io.github.sasanlabs:facade-schema:1.0.2")
implementation("org.apache.logging.log4j:log4j-api:2.14.1")
implementation("org.apache.logging.log4j:log4j-core:2.14.1")
}