This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-deno.git
The following commit(s) were added to refs/heads/master by this push:
new 7d7fa7a fix travis url and update akka version to match core repo
(#11)
7d7fa7a is described below
commit 7d7fa7a61ddb1e408bbb43418f574974032a6060
Author: David Grove <[email protected]>
AuthorDate: Fri Oct 8 17:54:53 2021 -0400
fix travis url and update akka version to match core repo (#11)
---
README.md | 2 +-
example/main.ts | 17 +++++++++++++++++
settings.gradle | 6 +++++-
tests/build.gradle | 6 ++++++
4 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 981ea00..92a4601 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
# Apache OpenWhisk Runtime for Deno
[](http://www.apache.org/licenses/LICENSE-2.0)
-[](https://travis-ci.com/apache/openwhisk-runtime-deno)
+[](https://travis-ci.com/github/apache/openwhisk-runtime-deno)
This repository contains sources files needed to build the Deno
runtimes for Apache OpenWhisk. The build system will produce a Docker
diff --git a/example/main.ts b/example/main.ts
index 47270a3..5bddf81 100644
--- a/example/main.ts
+++ b/example/main.ts
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
export default function main(args: {[key: string]: any}) {
return {
message: `Hello, ${args.name || "World"}!`,
diff --git a/settings.gradle b/settings.gradle
index 57bdfa1..b549ad5 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -25,10 +25,14 @@ gradle.ext.openwhisk = [
]
gradle.ext.scala = [
- version: '2.11.8',
+ version: '2.12.10',
+ depVersion : '2.12',
compileFlags: ['-feature', '-unchecked', '-deprecation',
'-Xfatal-warnings', '-Ywarn-unused-import']
]
+gradle.ext.akka = [version : '2.6.12']
+gradle.ext.akka_http = [version : '10.2.4']
+
gradle.ext.scalafmt = [
version: '1.5.0',
config: new File(rootProject.projectDir, '.scalafmt.conf')
diff --git a/tests/build.gradle b/tests/build.gradle
index 1ae5a4b..09adf17 100644
--- a/tests/build.gradle
+++ b/tests/build.gradle
@@ -37,6 +37,12 @@ dependencies {
compile "org.scala-lang:scala-library:${gradle.scala.version}"
compile
"org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
compile
"org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
+ implementation group: 'com.typesafe.akka', name:
"akka-http2-support_${gradle.scala.depVersion}", version:
"${gradle.akka_http.version}"
+ implementation group: 'com.typesafe.akka', name:
"akka-http-xml_${gradle.scala.depVersion}", version:
"${gradle.akka_http.version}"
+ implementation group: 'com.typesafe.akka', name:
"akka-discovery_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
+ implementation group: 'com.typesafe.akka', name:
"akka-protobuf_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
+ implementation group: 'com.typesafe.akka', name:
"akka-remote_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
+ implementation group: 'com.typesafe.akka', name:
"akka-cluster_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
}
tasks.withType(ScalaCompile) {