Skip to content

Commit

Permalink
Update for release
Browse files Browse the repository at this point in the history
  • Loading branch information
larsga committed Jun 14, 2018
1 parent ad89c01 commit 7d3ca77
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ To include JSLT in your project, depend on:
<dependency>
<groupId>com.schibsted.spt.data</groupId>
<artifactId>jslt</artifactId>
<version>0.0.17.201806130856.3f09ff5</version>
<version>0.1.0</version>
</dependency>
```

JSLT depends on Jackson.
At runtime JSLT depends on Jackson, and nothing else.

To transform one `JsonNode` into another, do:

Expand Down
22 changes: 14 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,18 @@ ext {
}

group 'com.schibsted.spt.data'
version "0.0.17.$timestamp.$gitrev"
version "0.1.0"
project.description "A JSON query and transformation language"

check {
doLast {
println 'Test report in build/reports/tests/test/index.html'
}
}

// ===========================================================================
// javacc integration

sourceSets {
main {
java {
Expand All @@ -61,11 +70,8 @@ task javacc (type: Exec) {
compileJava.dependsOn 'javacc'
javacc.dependsOn 'jjtree'

check {
doLast {
println 'Test report in build/reports/tests/test/index.html'
}
}
// ===========================================================================
// Sonatype Maven central publishing

task sourceJar(type: Jar) {
classifier "sources"
Expand Down Expand Up @@ -100,9 +106,9 @@ publishing {
publications {
mavenJava(MavenPublication) {
customizePom(pom)
groupId 'com.schibsted.spt.data'
groupId group
artifactId 'jslt'
version "0.0.17.$timestamp.$gitrev"
version version

from components.java

Expand Down
8 changes: 4 additions & 4 deletions lambda/lambda.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
}
</script>

<h1>JSTL 2.0 demo playground</h1>
<h1>JSLT demo playground</h1>

<p>Here you can play with
<a href="https://github.schibsted.io/spt-dataanalytics/jstl2">JSTL 2.0</a>
transforms. The actual transforms run in a lambda function.
Please <a href="https://github.schibsted.io/spt-dataanalytics/jstl2/issues"
<a href="https://github.com/schibsted/jslt">JSLT</a>
transforms.
Please <a href="https://github.com/schibsted/jslt/issues"
>report any issues</a>.</p>

<h2>Result</h2>
Expand Down

0 comments on commit 7d3ca77

Please sign in to comment.