-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathbuild.gradle
More file actions
54 lines (46 loc) · 1.71 KB
/
build.gradle
File metadata and controls
54 lines (46 loc) · 1.71 KB
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
plugins {
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id "com.diffplug.spotless" version "6.10.0"
}
group = 'com.commercetools.sdk.examples'
version = '0.0.1-SNAPSHOT'
repositories {
mavenLocal()
gradlePluginPortal()
mavenCentral()
}
apply plugin: 'com.diffplug.spotless'
spotless {
def importOrderConfigFile = rootProject.file("../../src/eclipse/eclipse.importorder")
def javaFormatterConfigFile = rootProject.file("../../src/eclipse/eclipse-formatter-settings.xml")
java {
importOrderFile(importOrderConfigFile)
eclipse().configFile(javaFormatterConfigFile)
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
}
}
ext {
versions = [
commercetools: "19.4.0"
]
}
dependencies {
implementation "com.commercetools.sdk:commercetools-sdk-java-api:${versions.commercetools}"
implementation "com.commercetools.sdk:commercetools-okhttp-client3:${versions.commercetools}"
implementation 'javax.inject:javax.inject:1'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.session:spring-session-core'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6:3.1.2.RELEASE'
developmentOnly("org.springframework.boot:spring-boot-devtools")
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
test {
useJUnitPlatform()
}