GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Assorted Fixes #7 (#1745) · JSQLParser/JSqlParser@31ef1aa

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • build.gradle
  • gradlew.bat
  • gradlew
  • gradle/wrapper
    • gradle-wrapper.jar
    • gradle-wrapper.properties
  • src
    • main
      • java/net/sf/jsqlparser
        • parser/feature
          • Feature.java
        • statement
          • SetStatement.java
          • insert
            • InsertConflictTarget.java
      • jjtree/net/sf/jsqlparser/parser
        • JSqlParserCC.jjt
    • site/sphinx
      • changelog.rst
      • syntax.rst
      • usage.rst
    • test/java/net/sf/jsqlparser
      • statement
        • SetStatementTest.java
        • insert
          • InsertTest.java
        • select
          • FetchTest.java
          • PostgresTest.java
      • test
        • UnicodeTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+35-32Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ plugins {
1414

1515
// download the RR tools which have no Maven Repository
1616
id "de.undercouch.download" version "latest.release"
17+
id 'org.hidetake.ssh' version "latest.release"
1718

1819
id "se.bjurr.gitchangelog.git-changelog-gradle-plugin" version "latest.release"
1920
}
@@ -85,8 +86,8 @@ dependencies {
8586
testImplementation 'org.mockito:mockito-junit-jupiter:4.+'
8687

8788
// enforce latest version of JavaCC
88-
testImplementation 'net.java.dev.javacc:javacc:7.0.12'
89-
javacc 'net.java.dev.javacc:javacc:7.0.12'
89+
testImplementation 'net.java.dev.javacc:javacc:+'
90+
javacc 'net.java.dev.javacc:javacc:+'
9091
}
9192

9293
compileJavacc {
@@ -98,6 +99,11 @@ java {
9899
withJavadocJar()
99100
}
100101

102+
javadoc {
103+
options.addBooleanOption('html5', true)
104+
options.addBooleanOption("Xdoclint:none", true)
105+
}
106+
101107
test {
102108
environment = [ 'EXPORT_TEST_TO_FILE': 'True' ]
103109
useJUnitPlatform()
@@ -231,7 +237,7 @@ spotless {
231237

232238
format 'misc', {
233239
// define the files to apply `misc` to
234-
target '*.gradle', '*.md', '.gitignore'
240+
target '*.rst', '*.md', '.gitignore'
235241

236242
// define the steps to apply to those files
237243
trimTrailingWhitespace()
@@ -426,36 +432,33 @@ tasks.withType(JavaCompile) {
426432
options.encoding = 'UTF-8'
427433
}
428434

429-
task upload(type: Exec) {
430-
dependsOn(build, gitChangelogTask)
431-
432-
def versionStable = getVersion(false)
433-
434-
if( findProperty("${project.name}.host")==null ) {
435-
println(
436-
"""
437-
Property \"${project.name}.host\' not found.
438-
Please define \"${project.name}.host\" in the Gradle configuration (e. g. \$HOME/.gradle/gradle.properties.
439-
"""
440-
)
441-
} else {
442-
443-
// define the USERNAME and HOST properties in ~/.gradle/gradle.properties
444-
args = ["sftp://${findProperty("${project.name}.username")}@${findProperty("${project.name}.host")}/download"]
445-
446-
executable "sftp"
447-
448-
standardInput = new ByteArrayInputStream("""<<EOF
449-
mkdir ${project.name}-${versionStable}
450-
cd ${project.name}-${versionStable}
451-
put build/libs/*
452-
quit
453-
EOF"""
454-
.getBytes(Charset.defaultCharset()))
435+
remotes {
436+
webServer {
437+
host = findProperty("${project.name}.host")
438+
user = findProperty("${project.name}.username")
439+
identity = new File("${System.properties['user.home']}/.ssh/id_rsa")
440+
}
441+
}
455442

456-
standardOutput = new ByteArrayOutputStream()
457-
ext.output = {
458-
return standardOutput.toString()
443+
task upload {
444+
doFirst {
445+
if( findProperty("${project.name}.host")==null ) {
446+
println(
447+
"""
448+
Property \"${project.name}.host\' not found.
449+
Please define \"${project.name}.host\" in the Gradle configuration (e. g. \$HOME/.gradle/gradle.properties.
450+
"""
451+
)
452+
}
453+
}
454+
doLast {
455+
ssh.run {
456+
session(remotes.webServer) {
457+
def versionStable = getVersion(false)
458+
execute "mkdir -p download/${project.name}-${versionStable}"
459+
put from: "${project.buildDir}/libs", into: "download/${project.name}-${versionStable}"
460+
}
459461
}
460462
}
461463
}
464+
Collapse file

‎gradle/wrapper/gradle-wrapper.jar‎

Copy file name to clipboard
2.02 KB
Binary file not shown.
Collapse file

‎gradle/wrapper/gradle-wrapper.properties‎

Copy file name to clipboard
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.