Skip to content

Commit

Permalink
Use 4.0.1 version of the swim backend
Browse files Browse the repository at this point in the history
Update Copyright
  • Loading branch information
ajay-gov committed Jul 26, 2022
1 parent 63868ec commit 1878bb7
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ See [Ripple in action](http://www.swim.ai/showcase/ripple).

## Prerequisites

* [Install JDK 9+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
* [Install JDK 11+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
* Ensure that your `JAVA_HOME` environment variable is pointed to your Java installation location.
* Ensure that your `PATH` includes `$JAVA_HOME`.

Expand Down
18 changes: 9 additions & 9 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ext.compilerArgs = ['-Xlint:all']
// Build with `gradle -Pno-modules` to force compatibility with legacy JVMs.
def javaVersion = System.getProperty('java.version').split('\\.')
ext.jvmVersion = (javaVersion[0] as Integer) > 1 ? javaVersion[0] as Integer : javaVersion[1] as Integer
ext.useModules = jvmVersion >= 9 && !hasProperty('no-modules')
ext.useModules = !hasProperty('no-modules')
ext.moduleArgs = []

repositories {
Expand All @@ -39,8 +39,8 @@ dependencies {
afterEvaluate {
configurations {
apiElements {
sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}

Expand All @@ -58,9 +58,9 @@ afterEvaluate {
options.encoding = 'UTF-8'
classpath = files()
source = sourceSets.main.allJava
sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9
destinationDir = compileJava.destinationDir
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
destinationDirectory = compileJava.destinationDirectory
include '*module-info*'
}
classes.dependsOn compileModuleInfoJava
Expand All @@ -78,8 +78,8 @@ afterEvaluate {
compileJava {
options.compilerArgs += compilerArgs
options.encoding = 'UTF-8'
sourceCompatibility = JavaVersion.VERSION_1_9
targetCompatibility = JavaVersion.VERSION_1_9
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
exclude '*module-info*'
}

Expand All @@ -88,7 +88,7 @@ afterEvaluate {
manifest {
attributes(
'Implementation-Title': moduleName,
'Implementation-Version': version,
'Implementation-Version': archiveVersion,
'Main-Class': mainClassName)
}
}
Expand Down
2 changes: 1 addition & 1 deletion server/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
application.version=3.11.0
application.version=4.0.1
14 changes: 14 additions & 0 deletions server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2015-2022 Swim.inc
//
// Licensed 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.

open module swim.ripple {
requires swim.recon;
requires transitive swim.api;
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/java/swim/ripple/MirrorAgent.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/java/swim/ripple/RipplePlane.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/ChargeView.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/MirrorView.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/MirrorViewController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/MirrorViewObserver.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/SwimMirrorViewController.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/main/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2019 SWIM.AI inc.
// Copyright 2015-2022 Swim.inc
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Swim Ripple Web UI",
"homepage": "https://github.com/swimos/ripple",
"author": "Chris Sachs <chris@swim.ai>",
"copyright": "2015-2019 SWIM.AI inc.",
"copyright": "2015-2022 Swim.inc",
"license": "Apache-2.0",
"repository": "https://github.com/swimos/ripple.git",
"main": "dist/main/swim-ripple.js",
Expand Down

0 comments on commit 1878bb7

Please sign in to comment.