Skip to content

Commit

Permalink
Use gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
s4nchez committed Aug 7, 2023
1 parent a9ce0bc commit ae6cb1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions aws-lambda-url/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
kotlin.code.style=official
junitVersion=5.7.2
kotlinVersion=1.9.0
http4kVersion=5.6.1.0
6 changes: 3 additions & 3 deletions aws-lambda-url/hello-function/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
implementation(platform("org.http4k:http4k-bom:5.2.1.0"))
implementation(platform("org.http4k:http4k-bom:${project.properties["http4kVersion"]}"))
implementation("org.http4k:http4k-core")
implementation("org.http4k:http4k-serverless-lambda:5.2.1.0")
implementation("org.http4k:http4k-serverless-lambda")
}

tasks.register("buildLambdaZip", Zip::class) {
Expand All @@ -10,4 +10,4 @@ tasks.register("buildLambdaZip", Zip::class) {
into("lib") {
from(configurations.compileClasspath)
}
}
}

0 comments on commit ae6cb1b

Please sign in to comment.