Skip to content

Commit

Permalink
feat: split-off the CLI
Browse files Browse the repository at this point in the history
- catch up to JSQLParser 4.10 Snapshot
- remove `Parenthesis` in favor of `ParenthesedExpressionList`

Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
  • Loading branch information
manticore-projects committed May 8, 2024
1 parent 177a493 commit b8dfc21
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 1,202 deletions.
22 changes: 7 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,25 @@ configurations {

dependencies {
implementation('com.github.jsqlparser:jsqlparser:+'){ changing = true }
// Java Doc in XML Format
xmlDoclet 'com.manticore-projects.tools:xml-doclet:+'

implementation 'commons-cli:commons-cli:+'
implementation 'com.diogonunes:JColor:+'

// https://mvnrepository.com/artifact/org.graalvm.sdk/graal-sdk
implementation 'org.graalvm.sdk:graal-sdk:22.+'

implementation 'commons-io:commons-io:+'
implementation 'com.github.julianthome:inmemantlr-api:+'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.+'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.+'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.+'

// for the RR Tools
implementation 'org.jsoup:jsoup:+'
compileOnly 'net.sf.saxon:Saxon-HE:+'

// for the ASCII Trees
implementation 'hu.webarticum:tree-printer:2.+'
implementation 'com.github.tommyettinger:blazingchain:1.+'
// Java Doc in XML Format
xmlDoclet 'com.manticore-projects.tools:xml-doclet:+'
}

configurations.configureEach {
resolutionStrategy {
force 'org.apache.commons:commons-text:+'
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.github.jsqlparser') {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 30, 'seconds'
}
}
}

Expand Down
109 changes: 0 additions & 109 deletions src/main/java/com/manticore/jsqlformatter/FragmentContentHandler.java

This file was deleted.

23 changes: 0 additions & 23 deletions src/main/java/com/manticore/jsqlformatter/JSQLFormatter.c

This file was deleted.

Loading

0 comments on commit b8dfc21

Please sign in to comment.