HIRS/build.gradle

120 lines
3.6 KiB
Groovy
Raw Normal View History

2023-03-07 01:48:51 +00:00
//import java.util.concurrent.TimeUnit
//
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
// id 'java'
// id 'war'
// id "nebula.ospackage" version "9.1.1"
2018-09-06 13:47:33 +00:00
}
2023-03-07 01:48:51 +00:00
//subprojects {
//
//}
2018-09-25 13:36:50 +00:00
2023-03-07 01:48:51 +00:00
//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
// }
// jaxb
//}
//
//repositories {
// flatDir { dirs "lib" }
// mavenCentral()
//}
//
//dependencies {
// implementation project(':HIRS_Utils')
// implementation project(':HIRS_AttestationCA')
//
// 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:1.18.26'
// implementation 'org.bouncycastle:bcmail-jdk15on:1.70'
// implementation 'org.springframework.plugin:spring-plugin-core:3.0.0'
// implementation 'org.apache.httpcomponents:httpclient:4.5.7'
// implementation 'com.google.guava:guava:31.1-jre'
// implementation 'org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.0'
// implementation 'com.github.marandus:pci-ids:0.3'
// implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
// implementation 'commons-codec:commons-codec:1.15'
// implementation 'org.apache.commons:commons-lang3:3.12.0'
// implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
// implementation 'org.apache.logging.log4j:log4j-api:2.19.0'
// implementation 'com.eclipsesource.minimal-json:minimal-json:0.9.5'
// implementation 'com.fasterxml.jackson.core:jackson-core:2.14.2'
// implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
// implementation "org.glassfish.jaxb:jaxb-runtime:4.0.1"
// implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
//// implementation 'com.sun.xml.bind:jaxb-impl:4.0.2' //creates duplicate error
// compileOnly 'org.projectlombok:lombok:1.18.26'
// runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
// annotationProcessor 'org.projectlombok:lombok:1.18.26'
// 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'
//}
//
//tasks.register("spring-boot-properties") {
// group = 'Introspection'
// description = 'Print properties from all BOMs'
// doLast {
// println dependencyManagement.importedProperties
// }
//}
//
////task generateXjcLibrary(type:Exec) {
//// workingDir 'config'
////
//// commandLine './genXjcLibrary.sh'
////}
////compileJava.dependsOn generateXjcLibrary
//
////ospackage {
//// packageName = 'HIRS_AttestationCA'
//// os = LINUX
//// arch = NOARCH
//// release = '1'
////
//// user 'root'
//// fileMode = 0755
////
//// addParentDirs = true
//// createDirectoryEntry true
////
//// into ("/opt/tomcat/webapps") {
//// from war.outputs.files
//// from '../HIRS_AttestationCAPortal/build/libs/HIRS_AttestationCAPortal.war'
//// user 'root'
//// fileMode = 0755
//// }
////
//// buildRpm {
//// arch = X86_64
//// }
////}