Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit ea28065

Browse files
authored
Merge pull request #139 from pontusmelke/java11
Upgrade to java 11
2 parents 0f4ada1 + eded553 commit ea28065

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rpmversion := $(versionnumber)-$(release)
2626

2727
GRADLE = ./gradlew -PbuildVersion=$(buildversion)
2828

29-
jarfile := cypher-shell-all.jar
29+
jarfile := cypher-shell.jar
3030
rpmfile := cypher-shell-$(rpmversion).noarch.rpm
3131
debfile := cypher-shell_$(debversion)_all.deb
3232

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
mavenCentral()
55
}
66
dependencies {
7-
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
8-
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.1.9'
7+
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
8+
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.4.0'
99
}
1010
}
1111

@@ -40,7 +40,6 @@ subprojects {
4040
apply plugin: 'distribution'
4141
apply plugin: 'com.github.johnrengelman.shadow'
4242
apply from: "$rootProject.projectDir/gradle/integration-test.gradle"
43-
apply plugin: 'pmd'
4443
apply plugin: 'jacoco'
4544
apply plugin: 'info.solidsoft.pitest'
4645

cypher-shell/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ task generateBuildProperties {
1212
}
1313
}
1414

15-
processResources.dependsOn generateBuildProperties
15+
processResources.finalizedBy generateBuildProperties
1616

1717
jar {
1818
manifest {

cypher-shell/src/dist/cypher-shell

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ _show_java_help() {
6969
build_classpath() {
7070
APP_HOME="$(cd "$(dirname "$0")" && pwd)"
7171
# First try in sub directory
72-
JARPATH="$(find "${APP_HOME}" -name "cypher-shell-all.jar" )"
72+
JARPATH="$(find "${APP_HOME}" -name "cypher-shell.jar" )"
7373

7474
# Then try installation directory (prefix/bin and prefix/share/cypher-shell/lib)
7575
if [[ -z "${JARPATH}" ]]; then
7676
APP_HOME="${APP_HOME}/../share/cypher-shell"
77-
JARPATH="$(find "${APP_HOME}" -name "cypher-shell-all.jar" )"
77+
JARPATH="$(find "${APP_HOME}" -name "cypher-shell.jar" )"
7878
fi
7979
}
8080

cypher-shell/src/dist/cypher-shell.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ set CMD_LINE_ARGS=%$
7171

7272
SETLOCAL EnableDelayedExpansion
7373
SET CYPHER_SHELL_JAR=
74-
FOR /f "delims=" %%a in ('dir "%NEO4J_HOME%\cypher-shell-all.jar" /s/b') do set CYPHER_SHELL_JAR=!CYPHER_SHELL_JAR!%%a
74+
FOR /f "delims=" %%a in ('dir "%NEO4J_HOME%\cypher-shell.jar" /s/b') do set CYPHER_SHELL_JAR=!CYPHER_SHELL_JAR!%%a
7575

7676
@rem Execute cypher-shell
7777
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %CYPHER_SHELL_OPTS% -jar "%CYPHER_SHELL_JAR%" %CMD_LINE_ARGS%

gradle/integration-test.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818

1919
// Define integration test task
2020
task integrationTest(type: Test) {
21-
testClassesDir = sourceSets.integrationTest.output.classesDir
21+
testClassesDirs = sourceSets.integrationTest.output.classesDirs
2222
classpath = sourceSets.integrationTest.runtimeClasspath
2323
}
2424

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cypher-shell/build/install/cypher-shell/cypher-shell usr/bin
2-
cypher-shell/build/install/cypher-shell/cypher-shell-all.jar usr/share/cypher-shell/lib
2+
cypher-shell/build/install/cypher-shell/cypher-shell.jar usr/share/cypher-shell/lib

0 commit comments

Comments
 (0)