-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathbuild.gradle
49 lines (42 loc) · 1.15 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.7.3")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
jar {
archiveBaseName = 'bt-example'
archiveVersion = '0.1.0'
archiveClassifier = ""
manifest {
attributes(
'Main-Class': 'springexample.Application'
)
}
}
repositories {
mavenCentral()
}
sourceCompatibility = 1.17
targetCompatibility = 1.17
dependencies {
implementation('org.springframework.boot:spring-boot-starter-web:2.7.3')
implementation('com.braintreepayments.gateway:braintree-java:3.18.0')
implementation('org.springframework.boot:spring-boot-starter-thymeleaf:2.7.3')
testImplementation("junit:junit:4.13.2")
testImplementation('io.rest-assured:spring-mock-mvc:5.1.1')
testImplementation('org.springframework.boot:spring-boot-starter-test:2.7.3')
testImplementation('com.braintreepayments.gateway:braintree-java:3.18.0')
}
wrapper {
gradleVersion = '7.5.1'
}
task stage (
dependsOn: ['build']
)