File tree Expand file tree Collapse file tree
src/main/java/swim/tutorial Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,11 +28,9 @@ def jvmVersion = System.getProperty('java.version').split('\\.')[0] as Integer
2828def useModules = jvmVersion >= 9 && ! project. hasProperty(' no-modules' )
2929
3030repositories {
31- jcenter()
32- maven {
33- url " https://oss.sonatype.org/content/repositories/snapshots/"
34- }
35-
31+ mavenCentral()
32+ maven { url ' https://swimos.bintray.com/maven/' }
33+ maven { url ' http://packages.confluent.io/maven/' }
3634}
3735
3836dependencies {
Original file line number Diff line number Diff line change 1- application.version =3.10.1 -SNAPSHOT
1+ application.version =3.11.0 -SNAPSHOT
Original file line number Diff line number Diff line change 1+ # Thu Dec 05 13:22:13 GMT 2019
2+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
13distributionBase =GRADLE_USER_HOME
24distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
4- zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6+ zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change 33import swim .api .SwimRoute ;
44import swim .api .agent .AgentRoute ;
55import swim .api .plane .AbstractPlane ;
6+ import swim .api .space .Space ;
67import swim .client .ClientRuntime ;
7- import swim .fabric .Fabric ;
88import swim .kernel .Kernel ;
99import swim .server .ServerLoader ;
1010
@@ -15,7 +15,6 @@ public class TutorialPlane extends AbstractPlane {
1515
1616 public static void main (String [] args ) throws InterruptedException {
1717 final Kernel kernel = ServerLoader .loadServer ();
18- final Fabric fabric = (Fabric ) kernel .getSpace ("basic" );
1918
2019 kernel .start ();
2120 System .out .println ("Running Tutorial plane..." );
@@ -28,4 +27,5 @@ public static void main(String[] args) throws InterruptedException {
2827 final DataSource ds = new DataSource (client , "warp://localhost:9001" );
2928 ds .sendCommands ();
3029 }
30+
3131}
You can’t perform that action at this time.
0 commit comments