File tree Expand file tree Collapse file tree 12 files changed +113
-43
lines changed
graph-database-support-plugin Expand file tree Collapse file tree 12 files changed +113
-43
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,19 @@ sudo: false
2
2
language : java
3
3
jdk :
4
4
- oraclejdk8
5
+ before_cache :
6
+ - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
7
+ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
8
+ cache :
9
+ directories :
10
+ - $HOME/.gradle/caches/
11
+ - $HOME/.gradle/wrapper/
12
+ deploy :
13
+ provider : script
14
+ script : bash release-and-publish.sh
15
+ on :
16
+ repo : neueda/jetbrains-plugin-graph-database-support
17
+ branch : master
18
+ tags : true
19
+ script :
20
+ - ./gradlew clean test
Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ versionNeo4jJavaBoltDriver=1.6.3
11
11
versionPrefuse =1.0.0
12
12
versionGoogleAnalytics =1.1.2
13
13
versionJacksonMapper =2.8.6
14
+
15
+ # Performance
16
+ org.gradle.jvmargs =-Xmx512m
Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ intellij {
12
12
updateSinceUntilBuild false
13
13
sameSinceUntilBuild false
14
14
15
- publish {
16
- if (project. hasProperty(' intellijUsername' )) {
17
- username intellijUsername
18
- }
19
- if (project. hasProperty(' intellijPassword' )) {
20
- password intellijPassword
21
- }
15
+ publishPlugin {
16
+ username System . getenv(" INTELLIJ_USERNAME" )
17
+ password System . getenv(" INTELLIJ_PASSWORD" )
18
+ channels ' experimental'
22
19
}
23
20
24
21
if (System . getenv(" CI_SERVER" ) == " yes" ) {
Original file line number Diff line number Diff line change 1
1
Release should be done manually & carefully.
2
2
3
3
Be sure to check that plugin works before releasing!
4
+ To be executed straight on neueda/jetbrains-plugin-graph-database-support repository master branch.
4
5
5
6
Commands:
6
7
@@ -14,4 +15,9 @@ git checkout <new-release-tag>
14
15
./gradlew clean
15
16
16
17
4) Publish plugin to Jetbrains Plugin Registry
17
- ./gradlew publishPlugin
18
+ Ensure {HOME}/.gradle/gradle.properties file contains intellij credentials
19
+ intellijUsername=
20
+ intellijPassword=
21
+ Execute
22
+ ./gradlew buildPlugin
23
+ ./gradlew :graph-database-support-plugin:publishPlugin
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ if [ " $TRAVIS_SECURE_ENV_VARS " = false ]; then
3
+ echo " Will not release and publish, no credentials. Maybe you are trying to publish from a fork?" ;
4
+ exit 0;
5
+ fi
6
+ ./gradlew buildPlugin
7
+ ./gradlew :graph-database-support-plugin:publishPlugin
Original file line number Diff line number Diff line change @@ -25,5 +25,7 @@ include 'testing:database:neo4j-3.0'
25
25
include ' testing:database:neo4j-3.1'
26
26
include ' testing:database:neo4j-3.2'
27
27
include ' testing:database:neo4j-3.3'
28
+ include ' testing:database:neo4j-3.4'
29
+ include ' testing:database:neo4j-3.5'
28
30
include ' testing:integration-neo4j'
29
31
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
}
4
4
5
5
dependencies {
6
- compile ' org.neo4j.test:neo4j-harness:3.1.7 '
6
+ compile ' org.neo4j.test:neo4j-harness:3.1.9 '
7
7
compile project(" :testing:database:neo4j-common" )
8
8
}
9
9
Original file line number Diff line number Diff line change 1
- plugins {
2
- id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
- }
4
-
5
- dependencies {
6
- compile ' org.neo4j.test:neo4j-harness:3.2.6 '
7
- compile project(" :testing:database:neo4j-common" )
8
- }
9
-
10
- shadowJar {
11
- mergeServiceFiles()
12
- baseName = ' neo4j32-shadow'
13
- classifier = null
14
- version = null
15
- }
16
-
17
- jar. finalizedBy(shadowJar)
1
+ plugins {
2
+ id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
+ }
4
+
5
+ dependencies {
6
+ compile ' org.neo4j.test:neo4j-harness:3.2.13 '
7
+ compile project(" :testing:database:neo4j-common" )
8
+ }
9
+
10
+ shadowJar {
11
+ mergeServiceFiles()
12
+ baseName = ' neo4j32-shadow'
13
+ classifier = null
14
+ version = null
15
+ }
16
+
17
+ jar. finalizedBy(shadowJar)
Original file line number Diff line number Diff line change 1
- plugins {
2
- id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
- }
4
-
5
- dependencies {
6
- compile ' org.neo4j.test:neo4j-harness:3.3.0 '
7
- compile project(" :testing:database:neo4j-common" )
8
- }
9
-
10
- shadowJar {
11
- mergeServiceFiles()
12
- baseName = ' neo4j33-shadow'
13
- classifier = null
14
- version = null
15
- }
16
-
17
- jar. finalizedBy(shadowJar)
1
+ plugins {
2
+ id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
+ }
4
+
5
+ dependencies {
6
+ compile ' org.neo4j.test:neo4j-harness:3.3.9 '
7
+ compile project(" :testing:database:neo4j-common" )
8
+ }
9
+
10
+ shadowJar {
11
+ mergeServiceFiles()
12
+ baseName = ' neo4j33-shadow'
13
+ classifier = null
14
+ version = null
15
+ }
16
+
17
+ jar. finalizedBy(shadowJar)
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
+ }
4
+
5
+ dependencies {
6
+ compile ' org.neo4j.test:neo4j-harness:3.4.10'
7
+ compile project(" :testing:database:neo4j-common" )
8
+ }
9
+
10
+ shadowJar {
11
+ mergeServiceFiles()
12
+ baseName = ' neo4j34-shadow'
13
+ classifier = null
14
+ version = null
15
+ }
16
+
17
+ jar. finalizedBy(shadowJar)
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' com.github.johnrengelman.shadow' version ' 1.2.4'
3
+ }
4
+
5
+ dependencies {
6
+ compile ' org.neo4j.test:neo4j-harness:3.5.0'
7
+ compile project(" :testing:database:neo4j-common" )
8
+ }
9
+
10
+ shadowJar {
11
+ mergeServiceFiles()
12
+ baseName = ' neo4j35-shadow'
13
+ classifier = null
14
+ version = null
15
+ zip64 true
16
+ }
17
+
18
+ jar. finalizedBy(shadowJar)
Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ test {
17
17
systemProperty " neo4j-package-3.1" , " ${ project(":testing:database:neo4j-3.1").projectDir} /build/libs/neo4j31-shadow.jar"
18
18
systemProperty " neo4j-package-3.2" , " ${ project(":testing:database:neo4j-3.2").projectDir} /build/libs/neo4j32-shadow.jar"
19
19
systemProperty " neo4j-package-3.3" , " ${ project(":testing:database:neo4j-3.3").projectDir} /build/libs/neo4j33-shadow.jar"
20
+ systemProperty " neo4j-package-3.4" , " ${ project(":testing:database:neo4j-3.4").projectDir} /build/libs/neo4j34-shadow.jar"
21
+ systemProperty " neo4j-package-3.5" , " ${ project(":testing:database:neo4j-3.5").projectDir} /build/libs/neo4j35-shadow.jar"
20
22
jvmArgs ' -Xms2048m' , ' -Xmx2048m'
21
23
}
22
24
23
25
test. dependsOn " :testing:database:neo4j-3.0:assemble"
24
26
test. dependsOn " :testing:database:neo4j-3.1:assemble"
25
27
test. dependsOn " :testing:database:neo4j-3.2:assemble"
26
28
test. dependsOn " :testing:database:neo4j-3.3:assemble"
29
+ test. dependsOn " :testing:database:neo4j-3.4:assemble"
30
+ test. dependsOn " :testing:database:neo4j-3.5:assemble"
You can’t perform that action at this time.
0 commit comments