|
1 | 1 | plugins {
|
2 | 2 | id 'java'
|
3 |
| - id 'org.gretty' version '4.1.6' |
| 3 | + id 'io.spring.dependency-management' version '1.1.7' |
| 4 | + id 'org.springframework.boot' version '3.3.11' |
4 | 5 | id 'idea'
|
5 | 6 | id 'groovy'
|
6 | 7 | id 'io.github.joselion.pretty-jupiter' version '3.5.0'
|
7 | 8 | }
|
8 | 9 |
|
9 | 10 | java {
|
| 11 | + toolchain { |
| 12 | + languageVersion = JavaLanguageVersion.of(17) |
| 13 | + } |
10 | 14 | sourceCompatibility = JavaVersion.VERSION_17
|
11 | 15 | targetCompatibility = JavaVersion.VERSION_17
|
12 | 16 | }
|
13 | 17 |
|
14 |
| -ext['springBootVer'] = '3.3.2' |
15 |
| - |
16 | 18 | repositories {
|
17 | 19 | mavenCentral()
|
18 | 20 | }
|
19 | 21 |
|
20 |
| -gretty { |
21 |
| - springBootVersion = '3.3.2' |
22 |
| - springBoot = true |
23 |
| - servletContainer = 'jetty11' |
24 |
| - contextPath = '' |
25 |
| -} |
26 |
| - |
27 | 22 | configurations {
|
28 | 23 | providedRuntime
|
29 | 24 | }
|
30 | 25 |
|
31 | 26 | dependencies {
|
32 | 27 | implementation(group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '4.0.2')
|
33 |
| - implementation(group: 'jakarta.servlet', name:'jakarta.servlet-api', version:'6.1.0') |
| 28 | + providedRuntime(group: 'jakarta.servlet', name:'jakarta.servlet-api', version:'6.1.0') |
34 | 29 |
|
35 | 30 | // Spring
|
36 |
| - implementation(group:'org.springframework.boot', name:'spring-boot-starter-data-jpa', version:"${springBootVer}") |
37 |
| - implementation(group:'org.springframework.boot', name:'spring-boot-starter-security', version:"${springBootVer}") |
38 |
| - implementation(group:'org.springframework.boot', name:'spring-boot-starter-validation', version:"${springBootVer}") |
| 31 | + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' |
| 32 | + implementation 'org.springframework.boot:spring-boot-starter-security' |
| 33 | + implementation 'org.springframework.boot:spring-boot-starter-validation' |
| 34 | + implementation 'org.springframework.boot:spring-boot-starter-web' |
| 35 | + |
39 | 36 | implementation(group:'net.rakugakibox.spring.boot', name:'logback-access-spring-boot-starter', version:'2.11.0')
|
40 | 37 |
|
41 | 38 | implementation group: 'org.hibernate.orm', name: 'hibernate-community-dialects', version: '6.6.13.Final'
|
42 | 39 |
|
43 | 40 | implementation(group:'com.authy', name:'authy-java', version:'1.5.1')
|
44 | 41 | implementation(group:'com.twilio.sdk', name:'twilio', version:'10.8.0')
|
45 | 42 | implementation(group:'org.xerial', name:'sqlite-jdbc', version:'3.49.1.0')
|
| 43 | + implementation 'org.springframework.boot:spring-boot-starter-actuator' |
46 | 44 |
|
47 | 45 | testImplementation(group: 'junit', name:'junit', version:'4.13.2')
|
48 |
| - testImplementation(group:'org.springframework.boot', name:'spring-boot-starter-test', version:"${springBootVer}") |
| 46 | + testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| 47 | + testImplementation 'org.springframework.security:spring-security-test' |
| 48 | + |
49 | 49 | // Groovy
|
50 | 50 | testImplementation (group: 'org.apache.groovy', name: 'groovy-all', version: '4.0.26', ext: 'pom')
|
51 | 51 |
|
|
0 commit comments