mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 11:26:51 +00:00
issue_863: upgrading this slowly but surely again. testing to see if github's ci/cd is happy still with these set of changes.
This commit is contained in:
parent
548c203c18
commit
d831d02123
@ -1,15 +1,8 @@
|
||||
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()
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
plugins {
|
||||
id 'application'
|
||||
id 'java'
|
||||
id 'war'
|
||||
id 'com.netflix.nebula.ospackage' version '11.8.0'
|
||||
id 'org.springframework.boot' version '3.0.6'
|
||||
|
@ -1,13 +1,3 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@ -41,5 +31,3 @@ test {
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
|
@ -1,18 +1,8 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
// Get version from main project gradle
|
||||
def packVersion = properties.get("packageVersion")
|
||||
def jarVersion = properties.get("jarVersion")
|
||||
//println "packageVersion is ${projVersion}"
|
||||
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
flatDir { dirs "lib" }
|
||||
|
16
build.gradle
16
build.gradle
@ -1,10 +1,13 @@
|
||||
import com.github.spotbugs.snom.SpotBugsTask
|
||||
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
plugins {
|
||||
// Apply the application plugin to add support for building a CLI application in Java.
|
||||
id 'application'
|
||||
id 'com.github.spotbugs' version '6.0.4'
|
||||
id 'com.github.spotbugs' version '6.0.4' apply false
|
||||
id 'checkstyle'
|
||||
id 'java'
|
||||
}
|
||||
|
||||
// Global checkstyle file
|
||||
@ -12,6 +15,14 @@ ext.checkstyleConfigFile = new File(rootDir, "/config/checkstyle/sun_checks.xml"
|
||||
|
||||
subprojects {
|
||||
apply plugin: "com.github.spotbugs"
|
||||
apply plugin: "java"
|
||||
apply plugin: "checkstyle"
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
checkstyle {
|
||||
toolVersion = '10.20.0'
|
||||
@ -24,6 +35,7 @@ subprojects {
|
||||
checkstyleTest {
|
||||
source = 'src/test/java'
|
||||
}
|
||||
|
||||
tasks.withType(Checkstyle).configureEach {
|
||||
reports {
|
||||
xml.required = false
|
||||
@ -35,7 +47,7 @@ subprojects {
|
||||
excludeFilter = file('config/spotbugs/spotbugs-exclude.xml')
|
||||
}
|
||||
|
||||
tasks.withType(com.github.spotbugs.snom.SpotBugsTask).configureEach {
|
||||
tasks.withType(SpotBugsTask).configureEach {
|
||||
reports {
|
||||
html.required = true
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
excludeGroups=rhel-6,performance
|
||||
includeGroups=
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms512m -Xmx2048m
|
||||
org.gradle.caching=true
|
||||
org.gradle.jvmargs=-Xms1g -Xmx4g
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
@ -3,29 +3,29 @@ bouncyCastleVersion = "1.79"
|
||||
commonsCodecVersion = "1.17.1"
|
||||
commonsFileUploadVersion = "1.5"
|
||||
commonsIoVersion = "2.18.0"
|
||||
commonsLang3Version = "3.16.0"
|
||||
gsonVersion = "2.10.1"
|
||||
glassfishJakartaJsonVersion = "1.1.4"
|
||||
glassfishJaxbRuntimeVersion = "2.3.1"
|
||||
guavaVersion = "31.1-jre"
|
||||
commonsLang3Version = "3.17.0"
|
||||
gsonVersion = "2.11.0"
|
||||
glassfishJakartaJsonVersion = "2.0.1"
|
||||
glassfishJaxbRuntimeVersion = "4.0.5"
|
||||
guavaVersion = "33.3.0-jre"
|
||||
hibernateCoreVersion = "6.1.7.Final"
|
||||
jacksonVersion = "2.14.2"
|
||||
jakartaPersistenceApiVersion = "3.1.0"
|
||||
jakartaServletVersion = "3.0.0"
|
||||
jakartaXmlVersion = "4.0.0"
|
||||
jcommanderVersion = "1.83"
|
||||
jacksonVersion = "2.17.2"
|
||||
jakartaPersistenceApiVersion = "3.2.0"
|
||||
jakartaServletVersion = "3.0.1"
|
||||
jakartaXmlVersion = "4.0.2"
|
||||
jcommanderVersion = "2.0"
|
||||
log4jVersion = "2.24.2"
|
||||
lombokVersion = "1.18.34"
|
||||
mariadbVersion = "3.1.4"
|
||||
mariadbVersion = "3.4.0"
|
||||
minimalJsonVersion = "0.9.5"
|
||||
ospackageVersion = "11.2.0"
|
||||
pciVersion = "0.3"
|
||||
protobufJavaVersion = "3.24.1"
|
||||
protobufJavaVersion = "3.25.5"
|
||||
springBootVersion = "3.0.1"
|
||||
springDataJpaDatatablesVersion = "6.0.1"
|
||||
springRetryVersion = "2.0.0"
|
||||
testngVersion = "7.4.0"
|
||||
tomcatVersion = "10.1.5"
|
||||
testngVersion = "7.10.2"
|
||||
tomcatVersion = "11.0.1"
|
||||
|
||||
#test dependencies versions
|
||||
hamcrestVersion = "3.0"
|
||||
@ -44,7 +44,7 @@ commons-fileupload = { module = "commons-fileupload:commons-fileupload", version
|
||||
commons-io = { module = "commons-io:commons-io", version.ref = "commonsIoVersion" }
|
||||
commons-lang3 = { module = "org.apache.commons:commons-lang3", version.ref = "commonsLang3Version" }
|
||||
gson = { module = "com.google.code.gson:gson", version.ref = "gsonVersion" }
|
||||
glassfish-jakarta-json = { module = "org.glassfish:javax.json", version.ref = "glassfishJakartaJsonVersion" }
|
||||
glassfish-jakarta-json = { module = "org.glassfish:jakarta.json", version.ref = "glassfishJakartaJsonVersion" }
|
||||
glassfish-jaxb-runtime = { module = "org.glassfish.jaxb:jaxb-runtime", version.ref = "glassfishJaxbRuntimeVersion" }
|
||||
guava = { module = "com.google.guava:guava", version.ref = "guavaVersion" }
|
||||
hibernate-core = { module = "org.hibernate:hibernate-core", version.ref = "hibernateCoreVersion" }
|
||||
|
@ -1,17 +1,10 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id "com.netflix.nebula.ospackage" version "11.4.0"
|
||||
}
|
||||
// Get version from main project gradle
|
||||
def packVersion = properties.get("packageVersion");
|
||||
def jarVersion = properties.get("jarVersion");
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
flatDir { dirs "lib" }
|
||||
|
@ -1,5 +1,4 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id 'com.netflix.nebula.ospackage' version '11.4.0'
|
||||
id 'com.intershop.gradle.jaxb' version '5.1.0'
|
||||
}
|
||||
@ -8,12 +7,6 @@ plugins {
|
||||
def packVersion = properties.get("packageVersion");
|
||||
def jarVersion = properties.get("jarVersion");
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
flatDir { dirs "lib" }
|
||||
|
@ -9,6 +9,10 @@ import hirs.utils.xjc.ObjectFactory;
|
||||
import hirs.utils.xjc.ResourceCollection;
|
||||
import hirs.utils.xjc.SoftwareIdentity;
|
||||
import hirs.utils.xjc.SoftwareMeta;
|
||||
import jakarta.json.Json;
|
||||
import jakarta.json.JsonException;
|
||||
import jakarta.json.JsonObject;
|
||||
import jakarta.json.JsonReader;
|
||||
import jakarta.xml.bind.JAXBContext;
|
||||
import jakarta.xml.bind.JAXBElement;
|
||||
import jakarta.xml.bind.JAXBException;
|
||||
@ -17,10 +21,6 @@ import org.w3c.dom.Document;
|
||||
import org.w3c.dom.Element;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
import javax.json.Json;
|
||||
import javax.json.JsonException;
|
||||
import javax.json.JsonObject;
|
||||
import javax.json.JsonReader;
|
||||
import javax.xml.crypto.MarshalException;
|
||||
import javax.xml.crypto.XMLStructure;
|
||||
import javax.xml.crypto.dom.DOMStructure;
|
||||
|
Loading…
x
Reference in New Issue
Block a user