Small fixes

This commit is contained in:
Christopher Schnick
2022-01-02 23:13:10 +01:00
parent 8bb6f8be3d
commit e5a84a83db
15 changed files with 120 additions and 37 deletions

View File

@@ -11,8 +11,15 @@ java {
repositories {
mavenCentral()
}
apply from: "$rootDir/deps/jackson.gradle"
dependencies {
implementation project(':api')
implementation project(':core')
implementation files(project(':library').jar.archivePath)
}
compileJava.dependsOn(project(':library').jar)
application {
mainModule = 'io.xpipe.sample'
mainClass = 'io.xpipe.sample.HomePricesSample'
}

View File

@@ -17,7 +17,7 @@ public class HomePricesSample {
// Note that while this is possible, it is not recommended as
// all queries are routed through the XPipe client anyway.
// It allows us however to bundle the data with this sample program.
homePricesTable = DataSource.wrap(resource).asTable();
homePricesTable = DataSource.wrap(resource, "csv").asTable();
// As we didn't pass any configuration parameters, X-Pipe will try to automatically detect
// the correct configuration parameters. You can access these parameters like this:

View File

@@ -1,3 +1,3 @@
module io.xpipe.sample {
requires io.xpipe.api;
requires io.xpipe;
}