updates
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"java.configuration.updateBuildConfiguration": "interactive"
|
||||||
|
}
|
||||||
@@ -11,9 +11,6 @@ plugins {
|
|||||||
id 'application'
|
id 'application'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_21
|
|
||||||
targetCompatibility = JavaVersion.VERSION_21
|
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass = 'lodge.TestReservations'
|
mainClass = 'lodge.TestReservations'
|
||||||
}
|
}
|
||||||
@@ -23,15 +20,17 @@ sourceSets {
|
|||||||
java {
|
java {
|
||||||
srcDirs = ['src/java']
|
srcDirs = ['src/java']
|
||||||
}
|
}
|
||||||
|
runtimeClasspath = files("$projectDir/libs/*.jars")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
fileTree(dir:'libs', include:'*.jar')
|
fileTree(dir:'libs', include:'*.jar')
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation files('libs/gson-2.13.1.jar')
|
implementation 'com.google.code.gson:gson:2.13.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
BIN
libs/com.google.code.gson:gson:2.13.2.jar
Normal file
BIN
libs/com.google.code.gson:gson:2.13.2.jar
Normal file
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
{ "Account":{"account_number": "A1450981765","phone_number": "701-456-7890","mailing_address": { "Address":{"street": "10 wilco ave","city": "wilco","state": "WY","zip": "82801"}},"email_address": { "EmailAddress":{"email": "wilco@wyommin.net"}},"reservations":[]}}
|
{ "Account":{"account_number": "A1450981765","phone_number": "701-456-7890","mailing_address": { "Address":{"street": "10 wilco ave","city": "wilco","state": "WY","zip": "82801"}},"email_address": { "EmailAddress":{"email": "wilco@wyommin.net"}},"reservations":[{"CabinReservation":{"reservation_number":"R0535276622"}},{"HouseReservation":{"reservation_number":"R0499811708"}}]}}
|
||||||
@@ -53,7 +53,7 @@ digraph TestAccountLoadSequence {
|
|||||||
actor2_event2 ->
|
actor2_event2 ->
|
||||||
actor2_bottom;
|
actor2_bottom;
|
||||||
|
|
||||||
// And one more time.
|
// Again
|
||||||
actor3_event2
|
actor3_event2
|
||||||
actor3_event3
|
actor3_event3
|
||||||
|
|
||||||
@@ -62,13 +62,12 @@ digraph TestAccountLoadSequence {
|
|||||||
actor3_event3 ->
|
actor3_event3 ->
|
||||||
actor3_bottom;
|
actor3_bottom;
|
||||||
|
|
||||||
// We connect each event src/dest. First we make sure they
|
// Connect each event src/dest. vertically aligned.
|
||||||
// are vertically aligned.
|
|
||||||
{rank=same; actor1_event1 actor2_event1}
|
{rank=same; actor1_event1 actor2_event1}
|
||||||
{rank=same; actor2_event2 actor3_event2}
|
{rank=same; actor2_event2 actor3_event2}
|
||||||
{ranke=same; actor3_event3 actor1_event3}
|
{ranke=same; actor3_event3 actor1_event3}
|
||||||
|
|
||||||
// Finally, we connect the dots.
|
// Connect the dots.
|
||||||
edge [constraint=false, arrowhead=normal];
|
edge [constraint=false, arrowhead=normal];
|
||||||
|
|
||||||
actor1_event1 -> actor2_event1 [xlabel="AddAccount(Acount)"];
|
actor1_event1 -> actor2_event1 [xlabel="AddAccount(Acount)"];
|
||||||
|
|||||||
Reference in New Issue
Block a user