2023-02-14 12:30:16 +00:00
|
|
|
plugins {
|
|
|
|
id 'application'
|
|
|
|
id 'java'
|
|
|
|
id 'war'
|
2023-02-23 17:28:52 +00:00
|
|
|
id "nebula.ospackage" version "9.1.1"
|
2023-02-14 12:30:16 +00:00
|
|
|
id 'org.springframework.boot' version '3.0.1'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
|
|
}
|
2018-09-06 13:47:33 +00:00
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(17)
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom annotationProcessor
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
repositories {
|
|
|
|
flatDir { dirs "lib" }
|
|
|
|
mavenCentral()
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
dependencies {
|
2023-03-07 01:54:49 +00:00
|
|
|
implementation project(':HIRS_Utils')
|
|
|
|
implementation project(':HIRS_AttestationCA')
|
|
|
|
|
2023-03-07 14:23:55 +00:00
|
|
|
implementation libs.pci
|
|
|
|
implementation libs.bouncycastle
|
|
|
|
implementation libs.guava
|
|
|
|
implementation libs.jakarta.servlet
|
2023-02-16 17:05:36 +00:00
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
2023-02-23 17:28:52 +00:00
|
|
|
implementation 'org.projectlombok:lombok'
|
2023-03-07 01:54:49 +00:00
|
|
|
|
2023-02-14 12:30:16 +00:00
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
|
|
|
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
}
|
2018-09-06 13:47:33 +00:00
|
|
|
|
|
|
|
war {
|
|
|
|
from(buildDir) {
|
|
|
|
include 'VERSION'
|
|
|
|
into 'WEB-INF/classes'
|
|
|
|
}
|
2023-02-14 12:30:16 +00:00
|
|
|
archiveFileName = 'HIRS_AttestationCAPortal.war'
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|