@@ -45,12 +45,7 @@ configurations {
45
45
all* . exclude group : ' log4j' , module : ' log4j'
46
46
}
47
47
48
- dependencies {
49
- }
50
-
51
- task wrapper (type : Wrapper ) {
52
- gradleVersion = ' 4.8.1'
53
- }
48
+ dependencies {}
54
49
55
50
apply from : ' gradle/license.gradle'
56
51
apply plugin : ' io.spring.dependency-management'
@@ -69,8 +64,10 @@ task licenseCheckNode(type: com.hierynomus.gradle.license.tasks.LicenseCheck) {
69
64
}
70
65
71
66
// Add VERSION
72
- task incrementVersion<< {
73
- new File (projectDir, " VERSION" ). text = version
67
+ task incrementVersion {
68
+ doLast {
69
+ new File (projectDir, " VERSION" ). text = version
70
+ }
74
71
}
75
72
76
73
dependencyManagement {
@@ -105,59 +102,63 @@ jar {
105
102
ext[' log4j2.version' ] = ' 2.17.1'
106
103
107
104
dependencies {
108
- compile group : ' org.springframework.boot' , name : ' spring-boot-starter' , version : springBootVersion
109
- compile group : ' org.springframework.boot' , name : ' spring-boot-starter-web' , version : springBootVersion
110
- compile group : ' org.springframework.cloud' , name : ' spring-cloud-starter-netflix-zuul' , version : springBootVersion
111
- compile group : ' org.mybatis.spring.boot' , name : ' mybatis-spring-boot-starter' , version : springMybatisVersion
112
- compile group : ' com.github.pagehelper' , name : ' pagehelper' , version : pagehelperVersion
113
- compile group : ' org.springframework.boot' , name : ' spring-boot-starter-thymeleaf' , version : springBootVersion
114
- compile group : ' org.postgresql' , name : ' postgresql' , version : postgresqlVersion
115
- compile (group : ' org.herddb' , name : ' herddb-jdbc' , version : herddbVersion) {
105
+ compileOnly group : ' org.projectlombok' , name : ' lombok' , version : lombokVersion
106
+ annotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : lombokVersion
107
+ testCompileOnly group : ' org.projectlombok' , name : ' lombok' , version : lombokVersion
108
+ testAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : lombokVersion
109
+
110
+ implementation group : ' org.springframework.boot' , name : ' spring-boot-starter' , version : springBootVersion
111
+ implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-web' , version : springBootVersion
112
+ implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-netflix-zuul' , version : springBootVersion
113
+ implementation group : ' org.mybatis.spring.boot' , name : ' mybatis-spring-boot-starter' , version : springMybatisVersion
114
+ implementation group : ' com.github.pagehelper' , name : ' pagehelper' , version : pagehelperVersion
115
+ implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-thymeleaf' , version : springBootVersion
116
+ implementation group : ' org.postgresql' , name : ' postgresql' , version : postgresqlVersion
117
+ implementation (group : ' org.herddb' , name : ' herddb-jdbc' , version : herddbVersion) {
116
118
exclude group : ' org.slf4j' , module : ' slf4j-jdk14'
117
119
}
118
- compile group : ' javax.validation' , name : ' validation-api' , version : javaxValidationVersion
119
- compile group : ' org.hibernate' , name : ' hibernate-validator' , ' version' : hibernateValidatorVersion
120
- compile group : ' io.jsonwebtoken' , name : ' jjwt-api' , version : jsonWebTokenApiVersion
121
- compile group : ' io.jsonwebtoken' , name : ' jjwt-impl' , version : jsonWebTokenImplVersion
122
- compile group : ' io.jsonwebtoken' , name : ' jjwt-jackson' , version : jsonWebTokenImplVersion
123
- compile group : ' com.github.pagehelper' , name : ' pagehelper-spring-boot-starter' , version : pageHelperVersion
124
- compile group : ' com.google.guava' , name : ' guava' , version : guavaVersion
125
- compile group : ' com.google.code.gson' , name : ' gson' , version : gsonVersion
126
- compile group : ' org.apache.pulsar' , name : ' pulsar-common' , version : pulsarVersion
127
- compile group : ' org.apache.pulsar' , name : ' pulsar-client-admin-original' , version : pulsarVersion
128
- compile group : ' org.apache.pulsar' , name : ' pulsar-client-auth-athenz' , version : pulsarVersion
129
- compile group : ' org.apache.pulsar' , name : ' pulsar-client-auth-sasl' , version : pulsarVersion
130
- compile group : ' com.yahoo.athenz' , name : ' athenz-zts-java-client' , version : athenzVersion
131
- compile group : ' io.springfox' , name : ' springfox-swagger2' , version : swagger2Version
132
- compile group : ' io.springfox' , name : ' springfox-swagger-ui' , version : swaggeruiVersion
133
- compile group : ' org.apache.pulsar' , name : ' pulsar-broker' , version : pulsarVersion
134
- compile group : ' commons-validator' , name : ' commons-validator' , version : commonsValidatorVersion
135
- compile (group : ' org.bkvm' , name : ' bkvm' , version : bkvmVersion, ext : ' war' , classifier :' war-no-libs' ) {
120
+ implementation group : ' javax.validation' , name : ' validation-api' , version : javaxValidationVersion
121
+ implementation group : ' org.hibernate' , name : ' hibernate-validator' , ' version' : hibernateValidatorVersion
122
+ implementation group : ' io.jsonwebtoken' , name : ' jjwt-api' , version : jsonWebTokenApiVersion
123
+ implementation group : ' io.jsonwebtoken' , name : ' jjwt-impl' , version : jsonWebTokenImplVersion
124
+ implementation group : ' io.jsonwebtoken' , name : ' jjwt-jackson' , version : jsonWebTokenImplVersion
125
+ implementation group : ' com.github.pagehelper' , name : ' pagehelper-spring-boot-starter' , version : pageHelperVersion
126
+ implementation group : ' com.google.guava' , name : ' guava' , version : guavaVersion
127
+ implementation group : ' com.google.code.gson' , name : ' gson' , version : gsonVersion
128
+ implementation group : ' org.apache.pulsar' , name : ' pulsar-common' , version : pulsarVersion
129
+ implementation group : ' org.apache.pulsar' , name : ' pulsar-client-admin-original' , version : pulsarVersion
130
+ implementation group : ' org.apache.pulsar' , name : ' pulsar-client-auth-athenz' , version : pulsarVersion
131
+ implementation group : ' org.apache.pulsar' , name : ' pulsar-client-auth-sasl' , version : pulsarVersion
132
+ implementation group : ' com.yahoo.athenz' , name : ' athenz-zts-java-client' , version : athenzVersion
133
+ implementation group : ' io.springfox' , name : ' springfox-swagger2' , version : swagger2Version
134
+ implementation group : ' io.springfox' , name : ' springfox-swagger-ui' , version : swaggeruiVersion
135
+ implementation group : ' org.apache.pulsar' , name : ' pulsar-broker' , version : pulsarVersion
136
+ implementation group : ' commons-validator' , name : ' commons-validator' , version : commonsValidatorVersion
137
+ implementation (group : ' org.bkvm' , name : ' bkvm' , version : bkvmVersion, ext : ' war' , classifier :' war-no-libs' ) {
136
138
exclude group : ' org.slf4j' , module : ' slf4j-jdk14'
137
139
exclude group : ' org.herddb' , module : ' *'
138
140
}
139
- compile (group : ' org.bkvm' , name : ' bkvm' , version : bkvmVersion, classifier :' classes' ) {
141
+ implementation (group : ' org.bkvm' , name : ' bkvm' , version : bkvmVersion, classifier :' classes' ) {
140
142
exclude group : ' org.slf4j' , module : ' slf4j-jdk14'
141
143
exclude group : ' org.herddb' , module : ' *'
142
144
}
143
- compile (group : ' org.apache.tomcat.embed' , name : ' tomcat-embed-jasper' , version : tomcatVersion)
144
- compile group : ' org.glassfish.jersey.containers' , name : ' jersey-container-servlet' , version : jerseyVersion
145
- compile group : ' org.glassfish.jersey.core' , name : ' jersey-client' , version : jerseyVersion
146
- compile group : ' org.glassfish.jersey.inject' , name : ' jersey-hk2' , version : jerseyVersion
147
- compile group : ' org.glassfish.jersey.media' , name : ' jersey-media-json-jackson' , version : jerseyVersion
148
- compile group : ' org.springframework.boot' , name : ' spring-boot-starter-security'
149
- compile group : ' org.springframework.security' , name : ' spring-security-config'
150
- compile group : ' org.casbin' , name : ' casdoor-spring-boot-starter' , version : ' 1.3.0'
151
- compileOnly group : ' org.projectlombok' , name : ' lombok' , version : lombokVersion
145
+ implementation (group : ' org.apache.tomcat.embed' , name : ' tomcat-embed-jasper' , version : tomcatVersion)
146
+ implementation group : ' org.glassfish.jersey.containers' , name : ' jersey-container-servlet' , version : jerseyVersion
147
+ implementation group : ' org.glassfish.jersey.core' , name : ' jersey-client' , version : jerseyVersion
148
+ implementation group : ' org.glassfish.jersey.inject' , name : ' jersey-hk2' , version : jerseyVersion
149
+ implementation group : ' org.glassfish.jersey.media' , name : ' jersey-media-json-jackson' , version : jerseyVersion
150
+ implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-security'
151
+ implementation group : ' org.springframework.security' , name : ' spring-security-config'
152
+ implementation group : ' org.casbin' , name : ' casdoor-spring-boot-starter' , version : ' 1.3.0'
152
153
compileOnly group : ' org.springframework.boot' , name : ' spring-boot-devtools' , version : springBootVersion
153
- testCompile group : ' org.springframework.boot' , name : ' spring-boot-starter-test' , version : springBootVersion
154
- testCompile group : ' org.mockito' , name : ' mockito-core' , version : mockitoVersion
155
- testCompile group : ' org.powermock' , name : ' powermock-api-mockito2' , version : apiMockitoVersion
156
- testCompile group : ' org.powermock' , name : ' powermock-module-junit4' , version : mockitoJunit4Version
154
+ testImplementation group : ' org.springframework.boot' , name : ' spring-boot-starter-test' , version : springBootVersion
155
+ testImplementation group : ' org.mockito' , name : ' mockito-core' , version : mockitoVersion
156
+ testImplementation group : ' org.powermock' , name : ' powermock-api-mockito2' , version : apiMockitoVersion
157
+ testImplementation group : ' org.powermock' , name : ' powermock-module-junit4' , version : mockitoJunit4Version
157
158
158
159
constraints {
159
- compile (" org.bouncycastle:bcprov-jdk15on:${ bouncycastleVersion} " )
160
- compile (" org.bouncycastle:bcprov-ext-jdk15on:${ bouncycastleVersion} " )
161
- compile (" org.bouncycastle:bcpkix-jdk15on:${ bouncycastleVersion} " )
160
+ implementation (" org.bouncycastle:bcprov-jdk15on:${ bouncycastleVersion} " )
161
+ implementation (" org.bouncycastle:bcprov-ext-jdk15on:${ bouncycastleVersion} " )
162
+ implementation (" org.bouncycastle:bcpkix-jdk15on:${ bouncycastleVersion} " )
162
163
}
163
164
}
0 commit comments