-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (53 loc) · 2.44 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
plugins {
id 'org.springframework.boot' version "${springboot}"
id 'io.spring.dependency-management' version '1.1.3'
id 'java'
id 'war'
id 'org.jetbrains.kotlin.jvm' version "${kotlinVersion}"
}
group = 'com.amaia'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
assert System.properties["java.specification.version"] == "17" || "18" || "19" || "20" || "21"
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
apply from: './e2eTests.gradle'
dependencies {
implementation "org.springframework.boot:spring-boot-starter-data-jpa:${springboot}"
implementation "org.springframework.boot:spring-boot-starter-web:${springboot}"
implementation "org.springframework.boot:spring-boot-starter-websocket:${springboot}"
implementation "org.springframework.boot:spring-boot-starter-security:${springboot}"
implementation "org.hibernate.orm:hibernate-community-dialects:${hibernateDialects}"
implementation "org.springframework.data:spring-data-jpa:${springboot}"
implementation "io.jsonwebtoken:jjwt-api:${jsonwebtoken}"
implementation "io.jsonwebtoken:jjwt-impl:${jsonwebtoken}"
implementation "io.jsonwebtoken:jjwt-jackson:${jsonwebtoken}"
implementation "org.slf4j:slf4j-api:2.0.9"
implementation "org.xerial:sqlite-jdbc:${sqliteVersion}"
implementation group: 'com.google.guava', name: 'guava', version: "${guavaVersion}"
compileOnly "org.projectlombok:lombok:${lombok}"
developmentOnly "org.springframework.boot:spring-boot-devtools:${springboot}"
annotationProcessor "org.projectlombok:lombok:${lombok}"
providedRuntime "org.springframework.boot:spring-boot-starter-tomcat:${springboot}"
testImplementation "org.springframework.boot:spring-boot-starter-test:${springboot}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit5version}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit5version}"
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.9.3")
testImplementation group: 'org.assertj', name: 'assertj-core', version: "${assertJVersion}"
testImplementation "com.github.inigodm:E2EHelper:${e2eHelper}"
testImplementation "org.mockito:mockito-junit-jupiter:5.7.0"
testImplementation "org.springframework.boot:spring-boot-starter-test:${springboot}"
implementation group: 'net.datafaker', name: 'datafaker', version: "${faker}"}
test {
useJUnitPlatform()
}