File tree Expand file tree Collapse file tree 3 files changed +46
-24
lines changed Expand file tree Collapse file tree 3 files changed +46
-24
lines changed Original file line number Diff line number Diff line change 9
9
- secure : " O0xTkW+WBNWT0a44u7XRpm0vp0q04ZFv/ovmPX6nm3fRokuiHMoRaL1l7r1K\n LF9ow3n+Ncsl64XRJNv2rjKVrxb19GtZQjxnHqi6bW2FSnoTEJsfvIjgMOwh\n rOHL9MUP61idRqN15ki0qYsmZ8t3xN9rw04fJLGZn73Oy0uRSGI="
10
10
- secure : " C5j0sZWXhfOoaVYyylyM7aJsjUSBbiIkW2GpAhODIrp/E5l297TymomFOCOTZSL1xF5V4RYt6jc7db+Qri5ryeHd0IIYMNWqcmni4rChtKp4b2F4qh+eqwre8RW5hONOcByZTQDvo+m3SCTuoTWcIM/UIhQIGovSPtYmqjQlSwI="
11
11
- secure : " fpuaeSvHiDRtUGHRuCkaZOglaE8IujaCXjSShYP78kxaZUOkHCY6meGmk2YRB6nKTs80lpiQCGFOmtcdEOsCRt2kQXuzJR6NkcG8JEYbdD36G0zR/GpeZ38o3lZqd7Xy1FEGwTgMi0Wy699ZvSoBP1xtGz8A7f8G9ROV7E81gdw="
12
+ - secure : " bxZ+/YMNG5guSA4R62wsIODwvslnqh4YwzaZjCuSO8FsXzEFkRLbZlgNTJYthcKEOZK0Oq+7d0nr0Dh2hKSgOx/FM2nCNzL3kMc/D4gAi54OET8wOv21PgiZQomPlZd5v62uTdw8XDrSzdEG8tzjrA21GDGNFF+Uuz3KPfoQfc0="
13
+ - secure : " KdWNLW5VYhvGUMIB0Q4OwPfPAFLhVNi9hLRw2ZapBq245iVf7ayMXZznyOpSYgOjuXRqx/24ww+LSBFGM/rFetIiP2mA1A4RpxYpyRzJmfhxz3e4Rj71bE1JrLynY/MLIuH4NERMRdH1kZjQaY+IFkXqas5C+FD8Msj0owzlwLE="
12
14
13
15
14
16
@@ -26,7 +28,7 @@ install:
26
28
- export PATH=$PATH:$HOME/.local/bin
27
29
28
30
script :
29
- - gradle -Pversion=$JAVAREPL_BUILD_NUMBER clean check shadowJar
31
+ - gradle -Pversion=$JAVAREPL_BUILD_NUMBER clean check shadowJar bintrayUpload
30
32
31
33
deploy :
32
34
provider : releases
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id " com.github.johnrengelman.shadow" version " 1.2.4"
3
+ id " com.jfrog.bintray" version " 1.7"
3
4
}
4
5
5
6
apply plugin : ' java'
7
+ apply plugin : ' maven-publish'
6
8
7
9
10
+ def projectVersion = version
11
+
12
+ repositories {
13
+ mavenCentral()
14
+ maven { url " https://plugins.gradle.org/m2" }
15
+ maven { url " http://repo.bodar.com" }
16
+ }
17
+
18
+ publishing {
19
+ repositories {
20
+ jcenter()
21
+ }
22
+ publications {
23
+ shadow(MavenPublication ) {
24
+ groupId ' org.javarepl'
25
+ artifactId ' javarepl'
26
+ from components. shadow
27
+ }
28
+ }
29
+ }
30
+
31
+ bintray {
32
+ user = System . getenv(" BINTRAY_USERNAME" )
33
+ key = System . getenv(" BINTRAY_API_KEY" )
34
+ publications = [' shadow' ]
35
+ publish = true
36
+
37
+ pkg {
38
+ repo = ' maven'
39
+ name = ' javarepl'
40
+ licenses = [' Apache-2.0' ]
41
+ vcsUrl = ' https://github.com/albertlatacz/java-repl.git'
42
+
43
+ version {
44
+ name = projectVersion
45
+ desc = ' Auto-releasing Java REPL v.' + projectVersion + ' !'
46
+ vcsTag = projectVersion
47
+ }
48
+ }
49
+ }
50
+
8
51
sourceSets {
9
52
main {
10
53
java {
@@ -25,12 +68,6 @@ sourceSets {
25
68
}
26
69
27
70
28
- repositories {
29
- mavenCentral()
30
- maven { url " https://plugins.gradle.org/m2" }
31
- maven { url " http://repo.bodar.com" }
32
- }
33
-
34
71
shadowJar {
35
72
baseName = " javarepl"
36
73
classifier = null
Original file line number Diff line number Diff line change @@ -184,24 +184,7 @@ private jline.console.completer.Completer clientCompleter() {
184
184
185
185
/**
186
186
* Copied from JLine sourcecode and heavily modified
187
- * <p/>
188
187
* Original sources: https://raw.github.com/jline/jline2/master/src/main/java/jline/console/completer/CandidateListCompletionHandler.java
189
- * <p/>
190
- * Copyright (c) 2002-2012, the original author or authors.
191
- * <p/>
192
- * This software is distributable under the BSD license. See the terms of the
193
- * BSD license in the documentation provided with this software.
194
- * <p/>
195
- * http://www.opensource.org/licenses/bsd-license.php
196
- * <p/>
197
- * A {@link jline.console.completer.CompletionHandler} that deals with multiple distinct completions
198
- * by outputting the complete list of possibilities to the console. This
199
- * mimics the behavior of the
200
- * <a href="http://www.gnu.org/directory/readline.html">readline</a> library.
201
- *
202
- * @author <a href="mailto:[email protected] ">Marc Prud'hommeaux</a>
203
- * @author <a href="mailto:[email protected] ">Jason Dillon</a>
204
- * @since 2.3
205
188
*/
206
189
public static class JlineCompletionHandler implements CompletionHandler {
207
190
// TODO: handle quotes and escaped quotes && enable automatic escaping of whitespace
You can’t perform that action at this time.
0 commit comments