You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
Groovy
45 lines
1.3 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '2.7.18'
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
|
}
|
|
|
|
group = 'com.vmis'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
// OpenAPI/Swagger UI
|
|
implementation 'org.springdoc:springdoc-openapi-ui:1.7.0'
|
|
|
|
// Apache HttpClient 4.x for RestTemplate request factory (Spring 5.x compatible)
|
|
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
|
|
|
|
// GPKI JNI local library
|
|
implementation files('lib/libgpkiapi_jni_1.5.jar')
|
|
|
|
// Configuration metadata
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
|
// Lombok
|
|
compileOnly 'org.projectlombok:lombok:1.18.30'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.30'
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.30'
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
useJUnitPlatform()
|
|
}
|