File tree Expand file tree Collapse file tree 7 files changed +9
-4
lines changed
main/scala/com/lifeway/aws/lambda
test/scala/com/lifeway/aws/lambda Expand file tree Collapse file tree 7 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name := " scala-lambda-handler"
22organization := " com.lifeway.aws"
33
4- scalaVersion := " 2.12.8"
4+ scalaVersion := " 2.13.1"
5+ crossScalaVersions := Seq (" 2.12.11" , " 2.13.1" )
56
67val circeVersion = " 0.12.3"
78val slf4jVersion = " 1.7.26"
@@ -12,7 +13,7 @@ libraryDependencies ++= Seq(
1213 " org.slf4j" % " slf4j-api" % slf4jVersion,
1314 " com.amazonaws" % " aws-lambda-java-core" % " 1.2.0" ,
1415 " com.lihaoyi" %% " requests" % " 0.2.0" ,
15- " com.lihaoyi" %% " utest" % " 0.6.3 " % " test"
16+ " com.lihaoyi" %% " utest" % " 0.7.4 " % " test"
1617)
1718
1819testFrameworks += new TestFramework (" utest.runner.Framework" )
Original file line number Diff line number Diff line change 1- sbt.version =1.1.1
1+ sbt.version =1.3.8
Original file line number Diff line number Diff line change 1- addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.5 .1" )
1+ addSbtPlugin(" org.scoverage" % " sbt-scoverage" % " 1.6 .1" )
22addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.0" )
33addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.3" )
44addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.7" )
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.amazonaws.services.lambda.runtime.Context
55import io .circe
66import io .circe ._
77import io .circe .parser ._
8+ import com .lifeway .aws .lambda .Errors
89
910/**
1011 * Abstract Lambda Handler for Scala for API Gateway Proxied requests containing a JSON message body. You must extend
Original file line number Diff line number Diff line change 11package com .lifeway .aws .lambda
22
3+ import com .lifeway .aws .lambda .Errors
34import io .circe ._
45import io .circe .syntax ._
56import utest ._
Original file line number Diff line number Diff line change 11package com .lifeway .aws .lambda
22
3+ import com .lifeway .aws .lambda .Errors
34import java .io .ByteArrayOutputStream
45
56import com .amazonaws .services .lambda .runtime .Context
Original file line number Diff line number Diff line change 11package com .lifeway .aws .lambda
22
3+ import com .lifeway .aws .lambda .Errors
34import java .io .ByteArrayOutputStream
45
56import com .amazonaws .services .lambda .runtime .Context
You can’t perform that action at this time.
0 commit comments