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()
}

dependencies {
  implementation (
          'com.amazonaws.serverless:aws-serverless-java-container-jersey:[2.0-SNAPSHOT,)',
          'com.fasterxml.jackson.core:jackson-databind:2.18.2',
  )

  implementation("org.glassfish.jersey.media:jersey-media-json-jackson:3.1.9") {
    exclude group: 'com.fasterxml.jackson.core', module: "jackson-annotations"
    exclude group: 'com.fasterxml.jackson.core', module: "jackson-databind"
    exclude group: 'com.fasterxml.jackson.core', module: "jackson-core"
  }

  implementation("org.glassfish.jersey.inject:jersey-hk2:3.1.9") {
    exclude group: 'javax.inject', module: "javax.inject"
  }

  testImplementation("com.amazonaws.serverless:aws-serverless-java-container-core:[2.0-SNAPSHOT,):tests")
  testImplementation("org.apache.httpcomponents.client5:httpclient5:5.4.1")
  testImplementation(platform("org.junit:junit-bom:5.11.4"))
  testImplementation("org.junit.jupiter:junit-jupiter")
}

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

test {
  useJUnitPlatform()
}

build.dependsOn buildZip




© 2015 - 2025 Weber Informatics LLC | Privacy Policy