11
22plugins {
3+ id " groovy"
34 id " war"
4- id ' eclipse'
5- id ' idea'
6- id " org.grails.grails-web"
5+ id " idea"
76 id " com.bertramlabs.asset-pipeline"
7+ id " org.grails.grails-web"
88 id " org.grails.grails-gsp"
9- id " application"
109}
1110
1211version = project. projectVersion
@@ -16,55 +15,42 @@ assets {
1615 minifyCss = true
1716}
1817
19- java {
20- toolchain {
21- languageVersion = JavaLanguageVersion . of(17 )
22- }
23- }
24-
25- repositories {
26- mavenCentral()
27- maven { url " https://repo.grails.org/grails/core" }
28- }
18+ compileJava. options. release = 17
2919
3020dependencies {
31- implementation " org.springframework.boot:spring-boot-starter-logging"
32- implementation " org.springframework.boot:spring-boot-autoconfigure"
33- implementation " org.springframework.boot:spring-boot-starter-actuator"
34- implementation " org.springframework.boot:spring-boot-starter-tomcat"
21+ implementation platform(" org.grails:grails-bom:$grailsVersion " )
22+ profile " org.grails.profiles:web"
3523 implementation " org.grails:grails-core"
36-
37- implementation " org.grails:grails-web-boot"
3824 implementation " org.grails:grails-logging"
39- implementation " org.grails:grails-plugin-rest"
4025 implementation " org.grails:grails-plugin-databinding"
4126 implementation " org.grails:grails-plugin-i18n"
27+ implementation " org.grails:grails-plugin-interceptors"
28+ implementation " org.grails:grails-plugin-rest"
4229 implementation " org.grails:grails-plugin-services"
4330 implementation " org.grails:grails-plugin-url-mappings"
44- implementation " org.grails:grails-plugin-interceptors"
45-
46- implementation " org.grails.plugins:cache:$cacheVersion "
47- implementation " org.grails.plugins:async:$asyncVersion "
48- implementation " org.grails.plugins:hibernate5:$gormVersion "
49- implementation " org.hibernate:hibernate-core-jakarta:$hibernate5Version "
50- implementation project(' :grails-redis' )
31+ implementation " org.grails:grails-web-boot"
5132 implementation " org.grails.plugins:gsp"
33+ implementation " org.grails.plugins:hibernate5"
34+ implementation " org.grails.plugins:scaffolding"
35+ implementation " org.springframework.boot:spring-boot-autoconfigure"
36+ implementation " org.springframework.boot:spring-boot-starter"
37+ implementation " org.springframework.boot:spring-boot-starter-actuator"
38+ implementation " org.springframework.boot:spring-boot-starter-logging"
39+ implementation " org.springframework.boot:spring-boot-starter-tomcat"
40+ implementation " org.springframework.boot:spring-boot-starter-validation"
5241 console " org.grails:grails-console"
53- profile " org.grails.profiles:web"
54-
55- runtimeOnly " org.glassfish.expressly:expressly:$expresslyVersion "
56- runtimeOnly " com.h2database:h2:$h2Version "
42+ runtimeOnly " com.bertramlabs.plugins:asset-pipeline-grails"
43+ runtimeOnly " com.h2database:h2"
5744 runtimeOnly " org.apache.tomcat:tomcat-jdbc"
5845 runtimeOnly " jakarta.xml.bind:jakarta.xml.bind-api:$xmlBindApiVersion "
59- runtimeOnly " com.bertramlabs.plugins:asset-pipeline-grails"
60-
46+ runtimeOnly " org.fusesource.jansi:jansi"
6147 testImplementation " org.grails:grails-gorm-testing-support"
62- testImplementation " org.mockito:mockito-core"
6348 testImplementation " org.grails:grails-web-testing-support"
64- }
49+ testImplementation " org.spockframework:spock-core "
6550
66- application {
67- mainClass. set(" com.example.Application" )
51+ implementation " org.grails.plugins:cache"
52+ implementation " org.grails.plugins:async"
53+ implementation project(' :grails-redis' )
6854}
6955
7056assets {
0 commit comments