mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
748d7a317f
* Adding TPMInfoTest with necessary resources, and adding EndorsementCredentialTest with approved fix to EndorsementCredential * Adding CertificateAuthorityCredentialTest and adding mockito import to build.gradle
77 lines
1.8 KiB
Groovy
77 lines
1.8 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
id 'com.google.protobuf' version '0.9.4'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
flatDir { dirs "lib" }
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':HIRS_Utils')
|
|
implementation project(':HIRS_Structs')
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:3.0.1'
|
|
implementation 'com.github.darrachequesne:spring-data-jpa-datatables:6.0.1'
|
|
implementation 'org.springframework.retry:spring-retry:2.0.0'
|
|
implementation libs.springdatajpa
|
|
|
|
implementation libs.bouncycastle
|
|
implementation libs.commons.codec
|
|
implementation libs.commons.lang3
|
|
implementation libs.jakarta.api
|
|
implementation libs.jakarta.xml
|
|
implementation libs.hibernate.core
|
|
implementation libs.pci
|
|
implementation libs.guava
|
|
implementation libs.jackson.core
|
|
implementation libs.jackson.databind
|
|
implementation libs.minimal.json
|
|
implementation libs.protobuf.java
|
|
implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
|
|
implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
|
|
testImplementation 'org.junit.platform:junit-platform-launcher:1.9.3'
|
|
testImplementation 'org.hamcrest:hamcrest:2.2'
|
|
|
|
testImplementation 'org.mockito:mockito-core:4.2.0'
|
|
|
|
// spring management
|
|
compileOnly libs.lombok
|
|
implementation libs.lombok
|
|
annotationProcessor libs.lombok
|
|
}
|
|
|
|
protobuf {
|
|
protoc {
|
|
artifact = 'com.google.protobuf:protoc:3.24.3'
|
|
}
|
|
}
|
|
sourceSets {
|
|
main {
|
|
proto {
|
|
srcDir '../HIRS_ProvisionerTPM2/src'
|
|
}
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|