Skip to content

Commit

Permalink
fixed wrong examples import
Browse files Browse the repository at this point in the history
  • Loading branch information
ennioVisco committed Jun 19, 2023
1 parent 715f6be commit d50540d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 38 deletions.
33 changes: 0 additions & 33 deletions examples/settings.gradle.kts

This file was deleted.

2 changes: 1 addition & 1 deletion examples/spatio-temporal/patterns/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ val deps = listOf("engine2021.jar")

dependencies {
implementation(project(":engine"))
implementation("eu.quanticol.moonlight.api:matlab")
implementation(project(":matlab"))

implementation(fileTree(mapOf("dir" to libDir, "include" to listOf("*.jar"))))
}
2 changes: 1 addition & 1 deletion examples/spatio-temporal/sensors/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ val libDir = "../../lib"

dependencies {
implementation(project(":engine"))
implementation("eu.quanticol.moonlight.api:matlab")
implementation(project(":matlab"))
implementation(project(":script"))

implementation(fileTree(mapOf("dir" to libDir, "include" to listOf("*.jar"))))
Expand Down
2 changes: 1 addition & 1 deletion examples/temporal/afc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ val libDir = "../../lib"
dependencies {
implementation("com.github.sh0nk:matplotlib4j:0.5.0")
implementation(project(":engine"))
implementation("eu.quanticol.moonlight.api:matlab")
implementation(project(":matlab"))
implementation(fileTree(mapOf("dir" to libDir, "include" to "*.jar")))
}
2 changes: 1 addition & 1 deletion examples/temporal/matlab/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ plugins {

dependencies {
implementation(project(":engine"))
implementation("eu.quanticol.moonlight.api:matlab")
implementation(project(":matlab"))
implementation("org.n52.matlab:matlab-control:5.0.0")
}
9 changes: 8 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,11 @@ include("matlab")
include("console")

// == Examples ==
include("examples")
val categories = listOf("temporal", "spatio-temporal")
categories.forEach { category ->
File("examples/$category").listFiles()?.forEach { example ->
if(example.isDirectory) {
include("examples:$category:${example.name}")
}
}
}

0 comments on commit d50540d

Please sign in to comment.