All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.build.gradle Maven / Gradle / Ivy

The newest version!
apply plugin: 'java'

repositories {
  mavenLocal()
  mavenCentral()
}

configurations {
  implementation {
    exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
  }
}

dependencies {

  implementation ('com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
    exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
    exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
  }
  implementation ('org.apache.struts:struts2-convention-plugin:2.5.30') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
  }
  implementation ('org.apache.struts:struts2-rest-plugin:2.5.30') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
  }
  implementation ('org.apache.struts:struts2-bean-validation-plugin:2.5.30') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
  }
  implementation ('com.jgeppert.struts2:struts2-aws-lambda-support-plugin:1.3.0') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
  }
  implementation ('org.apache.struts:struts2-core:2.5.30') {
    exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
  }
  implementation ('org.hibernate:hibernate-validator:5.4.3.Final')
  implementation ('com.fasterxml.jackson.core:jackson-databind:2.13.3')
  implementation ('org.apache.logging.log4j:log4j-core:2.17.2')
  implementation ('org.apache.logging.log4j:log4j-api:2.17.2')
  implementation ('org.apache.logging.log4j:log4j-slf4j-impl:2.17.2')
  implementation ('com.amazonaws:aws-lambda-java-log4j2:1.5.1')

  testImplementation('junit:junit:4.13.2')
  testImplementation('org.apache.struts:struts2-junit-plugin:2.5.30') {
    exclude group: 'org.apache.struts', module: 'struts2-core'
  }
}

task buildZip(type: Zip) {
  from compileJava
  from processResources
  into('lib') {
    from(configurations.compileClasspath)
  }
}

build.dependsOn buildZip




© 2015 - 2025 Weber Informatics LLC | Privacy Policy