Skip to content
Snippets Groups Projects
Commit 9ee537e1 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

test

parent c3370fec
No related branches found
No related tags found
1 merge request!223Lambda
...@@ -17,9 +17,10 @@ plugins { ...@@ -17,9 +17,10 @@ plugins {
compileJava.options.encoding = "UTF-8" compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8" compileTestJava.options.encoding = "UTF-8"
mainClassName = "gov.usgs.earthquake.nshmp.www.Application" mainClassName = "gov.usgs.earthquake.nshmp.www.Application"
sourceCompatibility = JavaVersion.VERSION_11
java { java {
sourceCompatibility = JavaVersion.toVersion("11")
targetCompatibility = JavaVersion.toVersion("11")
withSourcesJar() withSourcesJar()
} }
...@@ -75,6 +76,9 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask) { ...@@ -75,6 +76,9 @@ tasks.withType(com.github.spotbugs.snom.SpotBugsTask) {
graalvmNative.toolchainDetection = false graalvmNative.toolchainDetection = false
micronaut { micronaut {
runtime("lambda_java") runtime("lambda_java")
// nativeLambda {
// lambdaRuntimeClassName = "io.micronaut.function.aws.runtime.MicronautLambdaRuntime"
// }
processing { processing {
incremental(true) incremental(true)
annotations("gov.usgs.earthquake.nshmp.www.*") annotations("gov.usgs.earthquake.nshmp.www.*")
......
...@@ -9,26 +9,29 @@ dependencies { ...@@ -9,26 +9,29 @@ dependencies {
implementation "ghsc:nshmp-utils-java:${nshmpUtilsJavaVersion}" implementation "ghsc:nshmp-utils-java:${nshmpUtilsJavaVersion}"
// Micronaut // Micronaut
annotationProcessor platform("io.micronaut:micronaut-bom:${micronautVersion}") // annotationProcessor platform("io.micronaut:micronaut-bom:${micronautVersion}")
annotationProcessor "io.micronaut:micronaut-inject-java" // annotationProcessor "io.micronaut:micronaut-inject-java"
annotationProcessor "io.micronaut:micronaut-validation" // annotationProcessor "io.micronaut:micronaut-validation"
implementation platform("io.micronaut:micronaut-bom:${micronautVersion}") // implementation platform("io.micronaut:micronaut-bom:${micronautVersion}")
implementation "io.micronaut:micronaut-http-client" // implementation "io.micronaut:micronaut-http-client"
implementation "io.micronaut:micronaut-inject" // implementation "io.micronaut:micronaut-inject"
implementation "io.micronaut:micronaut-validation" // implementation "io.micronaut:micronaut-validation"
implementation "io.micronaut:micronaut-runtime" // implementation "io.micronaut:micronaut-runtime"
implementation "io.micronaut:micronaut-http-server-netty" // implementation "io.micronaut:micronaut-http-server-netty"
implementation "io.projectreactor:reactor-core" // implementation "io.projectreactor:reactor-core"
implementation "io.micronaut.rxjava3:micronaut-rxjava3:${micronautRxVersion}" // implementation "io.micronaut.rxjava3:micronaut-rxjava3:${micronautRxVersion}"
implementation "com.fasterxml.jackson.module:jackson-module-parameter-names:${jacksonVersion}" // implementation "com.fasterxml.jackson.module:jackson-module-parameter-names:${jacksonVersion}"
runtimeOnly "ch.qos.logback:logback-classic" // runtimeOnly "ch.qos.logback:logback-classic"
// Micronaut Lambda // Micronaut Lambda
annotationProcessor("io.micronaut:micronaut-http-validation") annotationProcessor("io.micronaut:micronaut-http-validation")
implementation("jakarta.annotation:jakarta.annotation-api")
implementation("io.micronaut.crac:micronaut-crac")
implementation("io.micronaut.aws:micronaut-aws-apigateway")
implementation("io.micronaut:micronaut-jackson-databind") implementation("io.micronaut:micronaut-jackson-databind")
implementation("io.micronaut.aws:micronaut-aws-apigateway")
implementation("io.micronaut.crac:micronaut-crac")
implementation("jakarta.annotation:jakarta.annotation-api")
implementation("io.micronaut.aws:micronaut-function-aws-api-proxy")
runtimeOnly("ch.qos.logback:logback-classic")
// Swagger // Swagger
annotationProcessor("io.micronaut.openapi:micronaut-openapi") annotationProcessor("io.micronaut.openapi:micronaut-openapi")
......
...@@ -3,4 +3,4 @@ defaultPackage: gov.usgs.earthquake.nshmp.www ...@@ -3,4 +3,4 @@ defaultPackage: gov.usgs.earthquake.nshmp.www
testFramework: junit testFramework: junit
sourceLanguage: java sourceLanguage: java
buildTool: gradle buildTool: gradle
features: [amazon-api-gateway, annotation-api, app-name, aws-lambda, aws-lambda-handler-default, gradle, http-client, jackson-databind, java, java-application, junit, logback, micronaut-build, readme, shade, snapstart, x86, yaml] features: [amazon-api-gateway, app-name, aws-lambda, aws-lambda-events-serde, aws-lambda-handler-default, gradle, http-client-test, java, java-application, junit, logback, micronaut-aot, micronaut-build, micronaut-http-validation, properties, readme, serialization-jackson, shade, snapstart, static-resources, x86]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment