mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-23 08:00:56 -04:00
Small fixes
This commit is contained in:
@@ -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'
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module io.xpipe.sample {
|
||||
requires io.xpipe.api;
|
||||
requires io.xpipe;
|
||||
}
|
||||
Reference in New Issue
Block a user