-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
28 lines (23 loc) · 959 Bytes
/
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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.9'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'io.github.pitagoras3'
version = '1.0.0'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
// Downgrade springCloudCommons to 3.1.4 version
// to pass 'SpringCloudContextBugApplicationTests.shouldNotFailToUpdateApplicationPropertiesBean' test
project.ext.versions = [springCloudCommons: '3.1.5']
dependencies {
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-bootstrap', version: versions.springCloudCommons
implementation group: 'org.springframework.cloud', name: 'spring-cloud-context', version: versions.springCloudCommons
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}