mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
56 lines
1.4 KiB
Groovy
56 lines
1.4 KiB
Groovy
plugins {
|
|
id 'application'
|
|
id 'java'
|
|
id 'war'
|
|
id "nebula.ospackage" version "9.1.1"
|
|
id 'org.springframework.boot' version '3.0.1'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
flatDir { dirs "lib" }
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':HIRS_Utils')
|
|
implementation project(':HIRS_AttestationCA')
|
|
|
|
implementation libs.pci
|
|
implementation libs.bouncycastle
|
|
implementation libs.guava
|
|
implementation libs.jakarta.servlet
|
|
|
|
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'
|
|
implementation 'org.projectlombok:lombok'
|
|
|
|
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'
|
|
}
|
|
|
|
war {
|
|
from(buildDir) {
|
|
include 'VERSION'
|
|
into 'WEB-INF/classes'
|
|
}
|
|
archiveFileName = 'HIRS_AttestationCAPortal.war'
|
|
}
|