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.
|
|
|
|
plugins {
|
|
|
|
|
id 'java'
|
|
|
|
|
id 'org.springframework.boot' version '3.3.4'
|
|
|
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
group = 'com.vmis'
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
java {
|
|
|
|
|
toolchain {
|
|
|
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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-starter-webmvc-ui:2.6.0'
|
|
|
|
|
|
|
|
|
|
// Apache HttpClient5 for RestTemplate request factory
|
|
|
|
|
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.3'
|
|
|
|
|
|
|
|
|
|
// GPKI JNI local library
|
|
|
|
|
implementation files('lib/libgpkiapi_jni_1.5.jar')
|
|
|
|
|
|
|
|
|
|
// Database & MyBatis
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
|
|
|
|
|
implementation 'org.mariadb.jdbc:mariadb-java-client:3.3.3'
|
|
|
|
|
|
|
|
|
|
// Configuration metadata
|
|
|
|
|
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
|
|
|
|
|
|
|
|
|
// Lombok
|
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.34'
|
|
|
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
|
testCompileOnly 'org.projectlombok:lombok:1.18.34'
|
|
|
|
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
|
|
|
|
|
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.withType(Test).configureEach {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
}
|