diff --git a/build.gradle b/build.gradle index d4cc92e13..f37a3f652 100644 --- a/build.gradle +++ b/build.gradle @@ -478,7 +478,7 @@ tasks.register('sphinx', Exec) { } publish { - dependsOn(check) + dependsOn(check, sphinx) } publishing { @@ -571,6 +571,7 @@ remotes { } tasks.register('upload') { + dependsOn(check, sphinx) doFirst { if (findProperty("${project.name}.host") == null) { println( diff --git a/src/site/sphinx/migration.rst b/src/site/sphinx/migration.rst index 6a1fbc9e4..94f299fab 100644 --- a/src/site/sphinx/migration.rst +++ b/src/site/sphinx/migration.rst @@ -1,8 +1,8 @@ ********************************* -Migration to 5.0 +Migration to 4.7 ********************************* -The new version of JSQLParser 5.0 is a rewrite in order to simply accessing the SQL's Abstract Syntax Tree (AST). Quite a few redundant classes have been removed or merged. +The new version of JSQLParser 4.7 is a rewrite in order to simply accessing the SQL's Abstract Syntax Tree (AST). Quite a few redundant classes have been removed or merged. As always, such a major improvement comes at a certain cost, which is breaking the previous API. Following the guidance below, the new API can be adopted easily although you are welcome to lodge a support request when any questions or concerns arise.